sparql_update
Executes SPARQL Update statements against a Jena Fuseki dataset to insert, delete, load, clear, create, drop, copy, move or add triples and named graphs.
Instructions
Run a SPARQL Update: INSERT, DELETE, LOAD, CLEAR, CREATE, DROP, COPY, MOVE or ADD.
To create a named graph, insert into it: INSERT DATA { GRAPH { "o" } }
CREATE GRAPH on its own is not enough on TDB2. It answers 200, but a graph with no triples does not exist as far as anything else is concerned -- list_graphs will not show it and the Graph Store Protocol answers 404 for it.
For replacing a whole graph from a file, write_graph and load_rdf_file are better: they do not put the RDF through this conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| update | Yes | The SPARQL Update statement. | |
| dataset | No | Dataset name. Defaults to the configured one. |