Open ocorby opened 5 years ago
Define RDF transformations, à la XSLT
SPARQL Template Transformation Language http://ns.inria.fr/sparql-template/
Add a template clause with text pattern.
template { ?s " " ?p " " ?o "." } where { ?s ?p ?o }
It is similar to:
select (group_concat(?out) as ?res) where { select (group_concat(concat(?s, " ", ?p, " ", ?o, ".")) as ?out) where { ?s ?p ?o } }
List of amazing things you can do with STTL (@ocorby please add)
Why?
Define RDF transformations, à la XSLT
Previous work
SPARQL Template Transformation Language http://ns.inria.fr/sparql-template/
Proposed solution
Add a template clause with text pattern.
template { ?s " " ?p " " ?o "." } where { ?s ?p ?o }
It is similar to:
select (group_concat(?out) as ?res) where { select (group_concat(concat(?s, " ", ?p, " ", ?o, ".")) as ?out) where { ?s ?p ?o } }
Considerations for backward compatibility