@metreeca/wire
    Preparing search index...
    • Generates a SPARQL alternative property path.

      Drops empty elements, then brackets and joins several survivors with |, returning a single one as is.

      Parameters

      • ...paths: Mixed<string>

        The alternative path elements

      Returns string

      The bracketed |-joined alternative path, the single surviving element, or the empty fragment for none