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

      Dispatches each position of the Pattern to the matching serialiser: a Variable renders as itself via variable; a non-variable subject renders as a blank node or an IRI reference; a non-variable object renders as any term. A non-variable predicate renders as an IRI reference, except for the type IRI of the rdf vocabulary namespace, which is abbreviated to the SPARQL a shorthand.

      Parameters

      • pattern: Pattern

        The triple pattern to serialise, as a [subject, predicate, object] tuple

      Returns string

      The generated triple pattern

      RangeError if pattern carries a malformed IRI, lexical form, or language tag