w3c / rdf-turtle

https://w3c.github.io/rdf-turtle/
Other
6 stars 4 forks source link

Add Quoted Triples and Annotation syntax from CG report #26

Closed gkellogg closed 1 year ago

gkellogg commented 1 year ago

This can wait for semantics decisions before adding Annotation syntax, but we should probably get quoted triples in to align with N-Triples/N-Quads.

domel commented 1 year ago

Agree, especially since sparql-query already has such PR.

afs commented 1 year ago

We can use the SPARQL grammar as a single place to agree on rule naming and rule order then replicate that for consistency.

I agree that annotation syntax is "unclear" - both UCR and semantics will have input.

Annotation syntax is in https://github.com/w3c/sparql-query/pull/78 without any opinion attached. It is a bit easier to do all once, now then remove later than it is to two design steps when the second step may uncover issues with the first.

Online validator: https://www.sparql.org/query-validator.html

Jena does have an internal Turtle parser based on a generated grammar that can be updated to aligned to the query PR, if that helps.