Skip to content

Provide away to make URI/resource nodes from ValueArray strings with prefix expansion. #39

@skwlilac

Description

@skwlilac

In trying to create an array of URI for some 'static' notes I tried the following:

r_auth_notes : "{value('sf-auth-note:').append( value([ 1,2,3,4 ]) ).asRDFNode() }"

without the trailing asRDFNote one is left with a string and for some reason elsewhere template expansion of

<core:note> : "<{r_auth_notes}>"

fails to see sf-auth-note: as a URI prefix rather than a URI scheme. .asRDFNode() will apply prefix expansion but has not been written (in ValueBase) to handle arrays.

[PR with suggested changes to follow]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions