Generates a SPARQL INSERT update adding triples to the graph store.
Without a where argument, produces a ground insert data operation adding the content triples verbatim. With a
where argument, produces an insert … where operation adding, for each solution of the pattern, the triples the
content template instantiates. Pass content as a single serialised block or a list of clauses joined into a
fragment.
Parameters
content: string|readonlystring[]
The triples to add: ground triples for insert data, or a triple template for insert … where
Optionalwhere: string
The optional where clause selecting solutions to instantiate against; omit
for a ground form
Generates a SPARQL
INSERTupdate adding triples to the graph store.Without a
whereargument, produces a groundinsert dataoperation adding thecontenttriples verbatim. With awhereargument, produces aninsert … whereoperation adding, for each solution of the pattern, the triples thecontenttemplate instantiates. Passcontentas a single serialised block or a list of clauses joined into a fragment.