Metreeca Wire
    Preparing search index...
    • 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

      • ...clauses: Mixed<string>

        The graph pattern clauses to delegate

      Returns string

      The SPARQL SERVICE block, or the empty fragment for no clauses