-
Notifications
You must be signed in to change notification settings - Fork 42
#657: Clarified that members of list must be literals/IRIs and the same order is kept #710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh-pages
Are you sure you want to change the base?
Conversation
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Co-authored-by: Ted Thibodeau Jr <[email protected]>
| Note that some <a>named parameter functions</a> — such as <code>shnex:IntersectionExpression</code> — | ||
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Closes #657