-
Notifications
You must be signed in to change notification settings - Fork 0
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
The SPARQL grammar allows ()
in reified triples and triple terms.
#157
Comments
()
in reified triples triple terms.()
in reified triples and triple terms.
I think I'd be OK forbidding this in triple terms and reified triples, as the use of |
But it is allowed in VALUES which has to call it out specially. It is also treated in special ways in functions. Not for this PR - maybe the grammar can be made more regular (and still the same language) by removing Recorded as: #160 |
In SPARQL,
()
is a parser tokenNIL
.It allows
()
to be used as a term in its own right, not just in RDF collections(....)
. e.g. inVALUES
and expressions. this is in SPARQL 1.1.The grammar in the current editors working draft allows:
Turtle is different. Parentheses only occur in
collection ::= '(' object* ')'
.The SPARQL grammar changed to align with Turtle for reified triples and triple terms.
From: w3c/rdf-tests#140 (comment)
The text was updated successfully, but these errors were encountered: