Metreeca Wire
    Preparing search index...
    • Generates a SPARQL WHERE clause.

      Wraps the space-joined clauses in a where { … } block: the graph pattern a select or ask query matches against, and the source a deleet or insert update draws its solutions from. 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 body is required.

      Parameters

      • ...clauses: Mixed<string>

        The graph pattern clauses forming the query body

      Returns string

      The SPARQL WHERE clause, or the empty fragment for no clauses