-
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
SPARQL Grammar: initial text direction; nested reified triples #153
Conversation
12923ad
to
480cf20
Compare
This was discussed during the rdf-star meeting on 12 September 2024. View the transcriptw3c/sparql-query#153AndyS: line item 7, I did an update for grammar of query for 1.2 features. |
Updated with a fix for nested reified triples and including the effect of w3c/rdf-turtle#71 depending on how that issue being resolved (it only has a local effect on the grammar). After this PR merges work to do includes:
|
It would be nice to have a text version of the grammar in the repo, similar to how Turtle does. |
Should be possible. javacc produces a text form - the terminals need munging in a similar fashion to the HTML generating script (perl). Later though - not this PR. BTW The Turtle spec does not seem to have link to the text turtle.bnf file. |
No, it doesn’t right now. I’ll do a PR to add that link. |
This PR updates the SPARQL Grammar to include initial text direction syntax and functions. There is also a fix for nested reified triples.
This replaces the grammar changes in #113 in order to get all the SPARQL 1.2 grammar changes into the working draft.
The rest of #113 (updated) with the the function definitions will follow separately.
Initial text direction functions:
isLang
,isLangDir
,LANGDIR
, andSTRLANGDIR
.Changes to reification:
ReifiedTripleData
(removal causes renumbering)Preview | Diff