Metreeca Wire
    Preparing search index...
    • Generates a SPARQL alternative property path.

      Joins the path elements with |, matching nodes reachable by any one of them. As the lowest-precedence path operator, it admits sequences as elements without parentheses. Empty elements, such as those produced by nil, are dropped first, and a single surviving element is returned unchanged.

      Parameters

      • ...paths: Mixed<string>

        The alternative path elements

      Returns string

      The |-joined alternative path, excluding empty elements