The following examples demonstrate usage of the input:default-graph-uri
pragma.
Execute insert statement for graph <http://mygraph.com>
:
DEFINE input:default-graph-uri <http://mygraph.com> INSERT { <http://myopenlink.net/dataspace/Kingsley#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#User> }
Get all rows for graph <http://mygraph.com>
:
DEFINE input:default-graph-uri <http://mygraph.com> SELECT * WHERE { ?s ?p ?o } LIMIT 10