This document describes some custom datatypes designed to concisely encode Quantity Values. Some of them are discoverable on the fly by RDF and SPARQL engines.

This document is a HTML representation of custom datatypes with URI starting with http://w3id.org/lindt/custom_datatypes#. The following files are accessible:

Datatype Unified Code for Units of Measure (UCUM)

Datatype UCUM is identified by IRI http://w3id.org/lindt/custom_datatypes#ucum, abbreviated as cdt:ucum. Its lexical space is the concatenation of the lexical form of an xsd:decimal, an optional space, and a unit chosen in the The Unified Code for Units of Measure code system: a code system indented to include all units of measures being contemporarily used in international science, engineering, and business. The value space corresponds to the set of measures, or quantity values as defined by the International Systems of Quantities. The lexical-to-value mapping maps lexical forms with a UCUM unit to their corresponding measures according to the International Systems of Quantities.

For example, all literals below are well formed and share the same value.

        "1 m"^^cdt:ucum
        "1.0e+9 nm"^^cdt:ucum
        "1e+10 Ao"^^cdt:ucum
        "1 m/s.s"^^cdt:ucum
        

Datatype Length

Datatype Length is identified by IRI http://w3id.org/lindt/custom_datatypes#length, abbreviated as cdt:length. Its lexical space is the concatenation of the lexical form of an xsd:decimal, an optional space, and a unit that can be either a metric length unit, or an imperial length unit, in abbreviated form or as full words, in singular or plural form. The value space corresponds to the set of lengths, as defined by the International Systems of Quantities, i.e., any quantity with dimension distance. The lexical-to-value mapping maps lexical forms with units in the metric system to their corresponding length according to the International Systems of Quantities, while the forms with an imperial unit are mapped to their equivalent length according to the International yard and pound agreement.

For example, all literals below are well formed and share the same value.

        "1 mile"^^cdt:length
        "5280 ft"^^cdt:length
        "63360 inches"^^cdt:length
        "1.609344km"^^cdt:length
        "1609.344 metre"^^cdt:length
        "1.609344E+6 mm"^^cdt:length
        

Datatype Volume

Datatype Volume is identified by IRI http://w3id.org/lindt/custom_datatypes#volume, abbreviated as cdt:volume. Its lexical space is the concatenation of the lexical form of an xsd:decimal, an optional space, and a metric volume unit, in abbreviated form or as full words, in singular or plural form. The value space corresponds to the set of volumes, as defined by the International Systems of Quantities, i.e., any quantity with dimension volulme. The lexical-to-value mapping maps lexical forms with units in the metric system to their corresponding length according to the International Systems of Quantities.

For example, all literals below are well formed.

        "1000 l"^^cdt:volume
        "100 cl"^^cdt:volume
        "1000000cm3"^^cdt:volume
        "1 m3"^^cdt:volume
        

Datatype Temperature

Datatype Temperature is identified by IRI http://w3id.org/lindt/custom_datatypes#temperature, abbreviated as cdt:temperature. Its lexical space is the concatenation of the lexical form of an xsd:decimal, an optional space, and a unit that can be either °C, °K, or °F. The value space corresponds to the set of temperatures.

For example, all literals below are well formed and share the same value.

        "27315e-2 °K"^^cdt:temperature
        "0 °C"^^cdt:temperature
        ".32e2 °F"^^cdt:temperature
        

Datatype Voltage

Datatype Voltage is identified by IRI http://w3id.org/lindt/custom_datatypes#voltage, abbreviated as cdt:voltage. Its lexical space is the concatenation of the lexical form of an xsd:decimal, an optional space, and a unit that is V prefixed by some metric prefix. The value space corresponds to the set of voltage.

For example, all literals below are well formed and share the same value.

        "230.7 V"^^cdt:voltage
        "2.307e2 V"^^cdt:voltage
        ".2307 kV"^^cdt:voltage
        

Datatype ElectricIntensity

Datatype ElectricIntensity is identified by IRI http://w3id.org/lindt/custom_datatypes#electricIntensity, abbreviated as cdt:electricIntensity. Its lexical space is the concatenation of the lexical form of an xsd:decimal, an optional space, and a unit that is A prefixed by some metric prefix. The value space corresponds to the set of electric intensities.

For example, all literals below are well formed and share the same value.

        "4.7 A"^^cdt:electricIntensity
        "47e-1 A"^^cdt:electricIntensity
        "4700 mA"^^cdt:electricIntensity