Metreeca Wire
    Preparing search index...
    • Generates a SPARQL MINUS pattern.

      Wraps the clauses in a minus group, removing from the enclosing group every solution compatible with the wrapped 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 a pattern is required.

      Parameters

      • ...clauses: Mixed<string>

        The graph pattern clauses to subtract

      Returns string

      The SPARQL MINUS pattern, or the empty fragment for no clauses