2 ms·
> SPARQL guarantees no such composability. SPARQL has a CONSTRUCT clause which gives you RDF as your query output. Isn't that compositional enough?
by zozbot234 2y ago
> SPARQL guarantees no such composability.
SPARQL has a CONSTRUCT clause which gives you RDF as your query output. Isn't that compositional enough?
- FjordWarden 2y agoOk, that is true, but how do I tell my graph database that the result of the construct query is some other graph in my DB?
- smarx007 2y ago> how do I tell my graph database that the result of the construct query I am assuming you are asking how to do a CONSTRUCT query that will return you the contents of a given named graph? https://www.w3.org/TR/sparql11-http-rdf-update/#http-get https://www.w3.org/TR/sparql11-http-rdf-update/#http-get is a much simpler way to get a graph. As the spec says, it's equivalent to the following query CONSTRUCT { ?s ?p ?o } WHERE { GRAPH <graph_uri> { ?s ?p ?o } }