Generates a SPARQL GRAPH block scoping patterns to a named graph.
Wraps the clauses in a graph block matched against the graph named by name, a Variable ranging over the
dataset's graph names or a fixed IRI reference. 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 a pattern is required.
Parameters
name: string
The serialised graph name: a variable or an IRI reference
Generates a SPARQL
GRAPHblock scoping patterns to a named graph.Wraps the clauses in a
graphblock matched against the graph named byname, a Variable ranging over the dataset's graph names or a fixed IRI reference. 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 a pattern is required.