Execute an ASK query.
A promise resolving to the boolean query result
Execute a CONSTRUCT query.
A promise resolving to the constructed RDF triples
Execute a SPARQL UPDATE operation.
A dataset is admitted only for updates declaring none of their own: SPARQL 1.1 Protocol forbids combining it
with USING, USING NAMED or WITH clauses, and the backend rejects such a request with its own error.
Merge triples into a graph.
Adds triples to the graph content, keeping the statements already there. Blank nodes in triples are kept
apart from those already in the store, as in an INSERT DATA update, so they never correlate with existing
nodes. Merging an empty array leaves the store unchanged, creating no named graph either.
The RDF triples to add
Optionalgraph: stringThe IRI of the target named graph, created if missing; when omitted, the default graph
Store triples as the content of a graph.
Replaces the graph content with triples, discarding the statements already there. Blank nodes in triples are
kept apart from those already in the store, as in merge. Storing an empty array
leaves the graph empty, while the other graphs of the store are never affected.
The RDF triples making up the new graph content
Optionalgraph: stringThe IRI of the target named graph, created if missing; when omitted, the default graph
SPARQL repository query, update and graph store operations.
Groups the core operations:
ask,select, andconstructread from the backing RDF store,updatewrites to it through SPARQL Update requests, andmergeandstorewrite RDF data into a graph without going through SPARQL text. Repository extends this surface for standalone use; the same operations are also handed to a task as the per-call client inside execute, where they run within the enclosing transaction.See