Skip to content

Conversation

@HolgerKnublauch
Copy link
Contributor

@HolgerKnublauch HolgerKnublauch added the Node Expressions For SHACL 1.2 Node Expressions label Jan 5, 2026
@afs afs removed their request for review January 5, 2026 18:23
Co-authored-by: Ted Thibodeau Jr <[email protected]>
HolgerKnublauch and others added 2 commits January 7, 2026 10:25
Note that some <a>named parameter functions</a> &mdash; such as <code>shnex:IntersectionExpression</code> &mdash;
also use a <a>SHACL list</a> as an object of the <a>key parameter</a>, similar to <a>list parameter functions</a> which always have a <a>SHACL list</a> as the object of their <a>list parameter property</a>.
However, these may produce more than one <a>output nodes</a>, and also accept lists as input nodes.
However, these may produce more than one <a>output node</a>, and also accept lists as input nodes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
However, these may produce more than one <a>output node</a>, and also accept lists as input nodes.
However, these may produce more than one <a>output node</a>, and also accept a list of input nodes.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it accept a list of lists? I guess not.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @robert-david I think you are looking at a different part of the spec than this PR is about.

The PR is about ListExpressions that are written as plain RDF lists in TTL, such as ( 1 2 3 )

The line you have highlighted is about the general architecture of Node Expressions, which can either be NamedParameterFunctions or ListParameterFunctions.

The example mentioned in this paragraph is something like

sh:values [
    shnex:intersection (
        [ shnex:pathValues ex:children ]
        [ shnex:pathValues ex:friends ]
    )
]

which is one example where a named parameter function can take other lists as its input - here the list containing the two pathValues expressions.

So unless I am missing something, this is neither incorrect nor related to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Node Expressions For SHACL 1.2 Node Expressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List Expressions

4 participants