Metreeca Wire
    Preparing search index...
    • Generates the SPARQL representation of a numeric value.

      Emits a bare numeric literal, the most compact typed form: an integer renders as an xsd:integer (for example 42), a finite non-integer as an xsd:decimal where representable without an exponent (for example 4.2) and as an xsd:double otherwise (for example 1e-7). A non-finite value has no native SPARQL syntax and renders as an explicitly typed xsd:double literal, using the lexical forms INF, -INF and NaN.

      Parameters

      • value: number

        The numeric value to render

      Returns string

      The generated numeric literal