Generates a SPARQL WITH update scoping an operation to a named graph.
Prefixes the space-joined clauses with with <graph>, serialising graph via reference and setting it as
the default graph for both the template and the where pattern of the enclosed deleet or
insert operation, the way graph scopes a query pattern. Empty clauses, such as
those produced by nil, are dropped first; when none survives, the result is the empty fragment via
nil, which callers must guard against where an operation is required.
Note
Named witt because with is a reserved word.
Important
WITH applies only to the template forms of deleet and insert, those carrying a where
clause. It has no effect on the ground delete data and insert data forms, whose triples name their target
graphs inline, so pass only template operations as clauses.
Generates a SPARQL
WITHupdate scoping an operation to a named graph.Prefixes the space-joined clauses with
with <graph>, serialisinggraphvia reference and setting it as the default graph for both the template and the where pattern of the enclosed deleet or insert operation, the way graph scopes a query pattern. Empty clauses, such as those produced by nil, are dropped first; when none survives, the result is the empty fragment via nil, which callers must guard against where an operation is required.Named
wittbecausewithis a reserved word.WITHapplies only to the template forms of deleet and insert, those carrying a where clause. It has no effect on the grounddelete dataandinsert dataforms, whose triples name their target graphs inline, so pass only template operations asclauses.