Generates a SPARQL SERVICE block delegating patterns to a federated endpoint.
Wraps the clauses in a service block evaluated against the remote SPARQL endpoint identified by endpoint, a
Variable 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
endpoint: string
The serialised endpoint: a variable or an IRI reference
Generates a SPARQL
SERVICEblock delegating patterns to a federated endpoint.Wraps the clauses in a
serviceblock evaluated against the remote SPARQL endpoint identified byendpoint, a Variable 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.