Metreeca Wire
    Preparing search index...
    • Generates a SPARQL zero-or-one (?) property path.

      Suffixes the path with ?, matching the element traversed at most once. The operand must be a path primary so the quantifier binds to the whole element.

      Parameters

      • path: string

        The path element to make optional

      Returns string

      The ?-suffixed path