-
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
Update grammar for quoted triples and triple functions #78
Conversation
Online validator: https://www.sparql.org/query-validator.html Note: this service is to not guaranteed to be available. The service does occasional experience (accidentally) DOS attacks and may become uncontactable. All we can do is wait. Syntax features illustration:
Update:
|
Great!! |
HTML now indented. The content is ready for review and we can get the grammar so it gets into the WD and also can be used for the rest of #53. There are some rules that need more layout tuning. This is not new to 1.2 but due to reSpec being narrower than the SPARQL 1.1 doc it stands out more. |
Thank you! I have tested the grammar as written in this PR with Oxigraph and it seems to work. Two nitpicks:
|
Agree that terminals should not be enclosed in angle brackets. |
e235767
to
9dfe089
Compare
Mistake fixed. |
9dfe089
to
4b5e974
Compare
Yes - and as its now recursive on variables, |
@afs I noticed that this query validator doesn't accept update queries (also not regular 1.1 update queries), is this intentional? |
There is a separate validator: https://www.sparql.org/update-validator.html Updates are not queries in SPARQL. |
4b5e974
to
a484316
Compare
The force push is a rebase with current main after several other changes to check this PR branch to check before merging. |
It would be nice to have the raw EBNF used to generate the HTML grammar table somewhere in the repository. |
https://github.com/apache/jena/tree/main/jena-arq/Grammar It's managed, and tested, using JavaCC. |
Part of issue #53 (Incorporate RFD-star CG report)
This is the SPARQL Grammar changes, and only those changes, to replace the table in section 19.8.
This is not directly the content from the CG report because the complete SPARQL grammar in the report has various errors and omissions. The fragment earlier in the report is closer.
Preview | Diff