Metreeca Wire
    Preparing search index...
    • Generates a SPARQL exists graph-pattern test.

      Evaluates to true when the wrapped pattern has at least one solution in the enclosing context, without binding any of its variables outward. The clauses are space-joined into a single group. 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

      • ...patterns: Mixed<string>

        The graph pattern clauses to test for a match

      Returns string

      The exists { … } test, or the empty fragment for no patterns