w3c / rdf-star

RDF-star specification
https://w3c.github.io/rdf-star/
Other
120 stars 23 forks source link

Triple annotation with Parser Tokens #285

Open BenjaminHofstetter opened 6 months ago

BenjaminHofstetter commented 6 months ago

As an IDE extension developer, I want to enhance IDE support for RDF.

I want to annotate triples with information from the parser tokens, specifically line and column numbers.

So that I can provide a mapping of a parsed RDF dataset back to its original source, such as a Turtle file. (similar to source maps in code). This reverse mapping allows better tooling support.

BenjaminHofstetter commented 6 months ago

For better understanding. I created a POC not using RDF-Start but I annotate the Dataset with parser tokens. This demo shows inline SHACL validation and SHACL coverage in a Turtle file. shacl