Custom Datatypes

Towards a web of Linked Datatypes

Unofficial Draft

Editors:
(École Nationale Supérieure des Mines de Saint-Étienne)
(École Nationale Supérieure des Mines de Saint-Étienne)

Abstract

This document specifies custom datatypes designed to concisely encode important information.

Status of This Document

This document is draft of a potential specification. It has no official standing of any kind and does not represent the support or consensus of any standards organization.

1. Custom Datatypes for Quantity Values

Being able to describe quantity values and their unit is a requirement that is common for many applications in several industrial sectors such as manufacturing, transport and logistics, personal and public health, smart cities, energy, environment, buildings, agriculture. Different ontologies have been developed to describe units, their relations, and quantities with their values.

We propose an alternative approach based on RDF Datatypes [rdf11-concepts], that leverages the Unified Code of Units of Measures [UCUM], a code system intended to include all units of measures being contemporarily used in international science, engineering, and business..

The custom datatypes introduced in this section can be used for lightweight encoding and querying of quantity values, in a wide range of applications where representing and reasoning with quantity kinds and values is more important than reasoning with units.

1.1 Overview of Datatypes

This section is non-normative.

Main datatypes: cdt:ucum , cdt:ucumunit

1.2 cdt:ucumunit

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#ucumunit

Definition UCUM Unit Datatype - Datatype to encode measurement units in a simple literal.
Lexical space Any unit expression constructed using The Unified Code for Units of Measure code system.
Value space Includes Set of units as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps UCUM unit expressions to a unit semantic element according to the International Systems of Quantities.
Examples

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

"km.h-1"^^cdt:ucumunit
"km/h"^^cdt:ucumunit
"(1000m)/(60min)"^^cdt:ucumunit

1.3 cdt:ucum

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#ucum

Definition UCUM Datatype - Datatype to encode measurements in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a unit expression constructed using The Unified Code for Units of Measure code system.
Value space Includes Set of measures, or quantity values as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a UCUM unit expression to their corresponding measures according to the International Systems of Quantities.
Examples

Check out the playground

For example, all literals below are well formed, test them online 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

1.4 cdt:acceleration

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#acceleration

Definition acceleration Datatype - Datatype to encode measurement of quantity kind acceleration in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an acceleration unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of acceleration as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a acceleration UCUM unit expression to their corresponding acceleration measures according to the International Systems of Quantities.
Examples

For example, all acceleration literals below are well formed, test them online.

"1 m/s2 "^^cdt:acceleration # S.I.
"3.8 [g]"^^cdt:acceleration # standard acceleration of free fall
"1.57e-2 cm/s2"^^cdt:acceleration # S.I. equiv. of Gal
"1.57e-2 Gal"^^cdt:acceleration # Gal

1.5 cdt:amountOfSubstance

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#amountOfSubstance

Definition amountOfSubstance Datatype - Datatype to encode measurement of quantity kind amountOfSubstance in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an amountOfSubstance unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of amountOfSubstance as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a amountOfSubstance UCUM unit expression to their corresponding amountOfSubstance measures according to the International Systems of Quantities.
Examples

For example, the amountOfSubstance literal below is well formed.

"1.2 mol"^^cdt:amountOfSubstance

1.6 cdt:angle

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#angle

Definition angle Datatype - Datatype to encode measurement of quantity kind angle in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an angle unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of angle as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a angle UCUM unit expression to their corresponding angle measures according to the International Systems of Quantities.
Examples

For example, all angle literals below are well formed, test them online.

"360 deg"^^cdt:angle # degree
"1 '"^^cdt:angle # minute
"1 ''"^^cdt:angle # second
"1 rad"^^cdt:angle # radian
"1 circ"^^cdt:angle # circle

1.7 cdt:area

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#area

Definition area Datatype - Datatype to encode measurement of quantity kind area in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an area unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of area as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a area UCUM unit expression to their corresponding area measures according to the International Systems of Quantities.
Examples

For example, all area literals below are well formed, test them online.

"1 m2"^^cdt:area # square meter
"1 ar"^^cdt:area # are
"1 [sin_i]"^^cdt:area # square inch International customary units
"1 [in_i]2"^^cdt:area # square inch International customary units
"1 [smi_us]"^^cdt:area # square mile Older U.S. “surveylengths (also called "statute" lengths)

1.8 cdt:catalyticActivity

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#catalyticActivity

Definition catalyticActivity Datatype - Datatype to encode measurement of quantity kind catalyticActivity in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a catalyticActivity unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of catalyticActivity as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a catalyticActivity UCUM unit expression to their corresponding catalyticActivity measures according to the International Systems of Quantities.
Examples

For example, all catalyticActivity literals below are well formed, test them online.

"1 mol/s"^^cdt:catalyticActivity # mole per second
"1 kat"^^cdt:catalyticActivity # KATAL
"1 U"^^cdt:catalyticActivity # Unit

1.9 cdt:dimensionless

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#dimensionless

Definition dimensionless Datatype - Datatype to encode measurement of quantity kind dimensionless in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a dimensionless unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of dimensionless as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a dimensionless UCUM unit expression to their corresponding dimensionless measures according to the International Systems of Quantities.
Examples

For example, all dimensionless literals below are well formed, test them online.

"1 "^^cdt:dimensionless # Unit (empty string)
"1 [pi]"^^cdt:dimensionless # pi
"1 %"^^cdt:dimensionless # percent
"1 [ppth]"^^cdt:dimensionless # parts per thousand
"1 [ppm]"^^cdt:dimensionless # parts per million
"1 [ppb]"^^cdt:dimensionless # parts per billion
"1 [pptr]"^^cdt:dimensionless # parts per trillion

1.10 cdt:electricCapacitance

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#electricCapacitance

Definition electricCapacitance Datatype - Datatype to encode measurement of quantity kind electricCapacitance in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an electricCapacitance unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of electricCapacitance as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a electricCapacitance UCUM unit expression to their corresponding electricCapacitance measures according to the International Systems of Quantities.
Examples

For example, all electricCapacitance literals below are well formed, test them online.

"1 C/V"^^cdt:electricCapacitance # coulomb per volt 
"1 F"^^cdt:electricCapacitance # farad

1.11 cdt:electricCharge

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#electricCharge

Definition electricCharge Datatype - Datatype to encode measurement of quantity kind electricCharge in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an electricCharge unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of electricCharge as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a electricCharge UCUM unit expression to their corresponding electricCharge measures according to the International Systems of Quantities.
Examples

For example, all electricCharge literals below are well formed, test them online.

"1 C"^^cdt:electricCharge # coulomb 
"1 [e]"^^cdt:electricCharge # elementary charge

1.12 cdt:electricConductance

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#electricConductance

Definition electricConductance Datatype - Datatype to encode measurement of quantity kind electricConductance in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an electricConductance unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of electricConductance as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a electricConductance UCUM unit expression to their corresponding electricConductance measures according to the International Systems of Quantities.
Examples

For example, all electricConductance literals below are well formed, test them online.

"1 /Ohm"^^cdt:electricConductance # inverse of Ohm 
"1 Ohm-1"^^cdt:electricConductance # inverse of Ohm 
"1 S"^^cdt:electricConductance # siemens

1.13 cdt:electricCurrent

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#electricCurrent

Definition electricCurrent Datatype - Datatype to encode measurement of quantity kind electricCurrent in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an electricCurrent unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of electricCurrent as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a electricCurrent UCUM unit expression to their corresponding electricCurrent measures according to the International Systems of Quantities.
Examples

For example, all electricCurrent literals below are well formed, test them online.

"1 C/s"^^cdt:electricCurrent # coulomb per second
"1 A"^^cdt:electricCurrent # ampère 
"1 mA"^^cdt:electricCurrent # milliampère 
"1 Bi"^^cdt:electricCurrent # Biot

1.14 cdt:electricInductance

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#electricInductance

Definition electricInductance Datatype - Datatype to encode measurement of quantity kind electricInductance in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an electricInductance unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of electricInductance as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a electricInductance UCUM unit expression to their corresponding electricInductance measures according to the International Systems of Quantities.
Examples

For example, all electricInductance literals below are well formed, test them online.

"1 Wb/A"^^cdt:electricInductance # weber per ampère
"1 V.s/A"^^cdt:electricInductance # volt second per ampère
"1 H"^^cdt:electricInductance # henry

1.15 cdt:electricPotential

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#electricPotential

Definition electricPotential Datatype - Datatype to encode measurement of quantity kind electricPotential in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an electricPotential unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of electricPotential as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a electricPotential UCUM unit expression to their corresponding electricPotential measures according to the International Systems of Quantities.
Examples

For example, all electricPotential literals below are well formed, test them online.

"230.7 V"^^cdt:electricPotential
"2.307e2 V"^^cdt:electricPotential
".2307 kV"^^cdt:electricPotential
".2307 J/C"^^cdt:electricPotential

1.16 cdt:electricResistance

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#electricResistance

Definition electricResistance Datatype - Datatype to encode measurement of quantity kind electricResistance in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an electricResistance unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of electricResistance as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a electricResistance UCUM unit expression to their corresponding electricResistance measures according to the International Systems of Quantities.
Examples

For example, all electricResistance literals below are well formed, test them online.

"1 V/A"^^cdt:electricResistance
"1 Ohm"^^cdt:electricResistance # Ohm
"1 kOhm"^^cdt:electricResistance # kiloOhm
"1 mOhm"^^cdt:electricResistance # milliOhm
"1 MOhm"^^cdt:electricResistance # MegaOhm

1.17 cdt:energy

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#energy

Definition energy Datatype - Datatype to encode measurement of quantity kind energy in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an energy unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of energy as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a energy UCUM unit expression to their corresponding energy measures according to the International Systems of Quantities.
Examples

For example, all energy literals below are well formed, test them online.

"1 kg.m2/s2"^^cdt:energy # S.I. unit for energy
"1 N.m"^^cdt:energy # Newton meter
"1 W.s"^^cdt:energy # Watt second
"1 kW.h"^^cdt:energy # kiloWatt hour
"1 erg "^^cdt:energy # erg 
"1 eV"^^cdt:energy # electronvolt 
"1 J"^^cdt:energy # joule
"1 cal"^^cdt:energy # calorie
"1 [Cal]"^^cdt:energy # nutrition label Calories

1.18 cdt:force

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#force

Definition force Datatype - Datatype to encode measurement of quantity kind force in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a force unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of force as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a force UCUM unit expression to their corresponding force measures according to the International Systems of Quantities.
Examples

For example, all force literals below are well formed, test them online.

"1 kg.m/s2"^^cdt:force # S.I. equiv. of Newton
"1 N"^^cdt:force # Newton
"1 gf"^^cdt:force # gram-force
"1 g.[g]"^^cdt:force # definition of gram-force
"1 dyn"^^cdt:force # dyne
"1 g.cm/s2"^^cdt:force # S.I. equiv. of dyne

1.19 cdt:frequency

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#frequency

Definition frequency Datatype - Datatype to encode measurement of quantity kind frequency in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a frequency unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of frequency as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a frequency UCUM unit expression to their corresponding frequency measures according to the International Systems of Quantities.
Examples

For example, all frequency literals below are well formed, test them online.

"1 Hz"^^cdt:frequency # Hertz
"1 MHz"^^cdt:frequency # MegaHertz
"1 s-1"^^cdt:frequency # per second
"1 /s"^^cdt:frequency # per second
"1 1/s"^^cdt:frequency # per second

1.20 cdt:illuminance

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#illuminance

Definition illuminance Datatype - Datatype to encode measurement of quantity kind illuminance in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and an illuminance unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of illuminance as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a illuminance UCUM unit expression to their corresponding illuminance measures according to the International Systems of Quantities.
Examples

For example, all illuminance literals below are well formed, test them online.

"1 lm/m2"^^cdt:illuminance # lumen per square meter
"1 lx"^^cdt:illuminance # lux
"1 ph"^^cdt:illuminance # phot

1.21 cdt:length

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#length

Definition length Datatype - Datatype to encode measurement of quantity kind length in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a length unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of length as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a length UCUM unit expression to their corresponding length measures according to the International Systems of Quantities.
Examples

For example, all length literals below are well formed, test them online.

"1 km"^^cdt:length
"1.609344E+6 mm"^^cdt:length
"5280 [ft_i]"^^cdt:length

1.22 cdt:luminousFlux

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#luminousFlux

Definition luminousFlux Datatype - Datatype to encode measurement of quantity kind luminousFlux in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a luminousFlux unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of luminousFlux as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a luminousFlux UCUM unit expression to their corresponding luminousFlux measures according to the International Systems of Quantities.
Examples

For example, all luminousFlux literals below are well formed, test them online.

"1 lm"^^cdt:luminousFlux # lumen

1.23 cdt:luminousIntensity

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#luminousIntensity

Definition luminousIntensity Datatype - Datatype to encode measurement of quantity kind luminousIntensity in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a luminousIntensity unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of luminousIntensity as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a luminousIntensity UCUM unit expression to their corresponding luminousIntensity measures according to the International Systems of Quantities.
Examples

For example, all luminousIntensity literals below are well formed, test them online.

"1 cd"^^cdt:luminousIntensity # candela

1.24 cdt:magneticFlux

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#magneticFlux

Definition magneticFlux Datatype - Datatype to encode measurement of quantity kind magneticFlux in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a magneticFlux unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of magneticFlux as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a magneticFlux UCUM unit expression to their corresponding magneticFlux measures according to the International Systems of Quantities.
Examples

For example, all magneticFlux literals below are well formed, test them online.

"1 Wb"^^cdt:magneticFlux # weber

1.25 cdt:magneticFluxDensity

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#magneticFluxDensity

Definition magneticFluxDensity Datatype - Datatype to encode measurement of quantity kind magneticFluxDensity in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a magneticFluxDensity unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of magneticFluxDensity as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a magneticFluxDensity UCUM unit expression to their corresponding magneticFluxDensity measures according to the International Systems of Quantities.
Examples

For example, all magneticFluxDensity literals below are well formed, test them online.

"1 Wb/m2"^^cdt:magneticFluxDensity # weber per square meter
"1 T"^^cdt:magneticFluxDensity # tesla
"1 G"^^cdt:magneticFluxDensity # gauss

1.26 cdt:mass

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#mass

Definition mass Datatype - Datatype to encode measurement of quantity kind mass in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a mass unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of mass as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a mass UCUM unit expression to their corresponding mass measures according to the International Systems of Quantities.
Examples

For example, all mass literals below are well formed, test them online.

"1 g"^^cdt:mass # gram
"1 kg"^^cdt:mass # kilogram
"1 t"^^cdt:mass # tonne
"1 u"^^cdt:mass # unified atomic mass unit 
"1 [m_e]"^^cdt:mass # electron mass 
"1 [gr]"^^cdt:mass # grain (avoirdupois weight system)
"1 [oz_av]"^^cdt:mass # ounce (avoirdupois weight system)

1.27 cdt:power

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#power

Definition power Datatype - Datatype to encode measurement of quantity kind power in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a power unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of power as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a power UCUM unit expression to their corresponding power measures according to the International Systems of Quantities.
Examples

For example, all power literals below are well formed, test them online.

"1 J/s"^^cdt:power # joule per second
"1 W"^^cdt:power # watt
"1 [ft_i].[lbf_av]/s"^^cdt:power # definition of horse power
"1 [HP]"^^cdt:power # horsepower

1.28 cdt:pressure

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#pressure

Definition pressure Datatype - Datatype to encode measurement of quantity kind pressure in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a pressure unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of pressure as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a pressure UCUM unit expression to their corresponding pressure measures according to the International Systems of Quantities.
Examples

For example, all pressure literals below are well formed, test them online.

"1 Pa"^^cdt:pressure # pascal
"1 bar"^^cdt:pressure # bar
"1 atm"^^cdt:pressure # standard atmosphere 
"1 att"^^cdt:pressure # technical atmosphere

1.29 cdt:radiationDoseAbsorbed

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#radiationDoseAbsorbed

Definition radiationDoseAbsorbed Datatype - Datatype to encode measurement of quantity kind radiationDoseAbsorbed in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a radiationDoseAbsorbed unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of radiationDoseAbsorbed as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a radiationDoseAbsorbed UCUM unit expression to their corresponding radiationDoseAbsorbed measures according to the International Systems of Quantities.
Examples

For example, all radiationDoseAbsorbed literals below are well formed, test them online.

"1 erg/g"^^cdt:radiationDoseAbsorbed # erg per gram
"1 RAD"^^cdt:radiationDoseAbsorbed # radiation absorbed dose

1.30 cdt:radiationDoseEffective

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#radiationDoseEffective

Definition radiationDoseEffective Datatype - Datatype to encode measurement of quantity kind radiationDoseEffective in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a radiationDoseEffective unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of radiationDoseEffective as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a radiationDoseEffective UCUM unit expression to their corresponding radiationDoseEffective measures according to the International Systems of Quantities.
Examples

For example, all radiationDoseEffective literals below are well formed, test them online.

"1 J/kg"^^cdt:radiationDoseEffective # Joule per kilogram
"1 Sv"^^cdt:radiationDoseEffective # sievert

1.31 cdt:radioactivity

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#radioactivity

Definition radioactivity Datatype - Datatype to encode measurement of quantity kind radioactivity in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a radioactivity unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of radioactivity as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a radioactivity UCUM unit expression to their corresponding radioactivity measures according to the International Systems of Quantities.
Examples

For example, all radioactivity literals below are well formed, test them online.

"1 s-1"^^cdt:radioactivity # per second 
"1 Bq"^^cdt:radioactivity # becquerel
"1 Ci"^^cdt:radioactivity # Curie

1.32 cdt:solidAngle

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#solidAngle

Definition solidAngle Datatype - Datatype to encode measurement of quantity kind solidAngle in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a solidAngle unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of solidAngle as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a solidAngle UCUM unit expression to their corresponding solidAngle measures according to the International Systems of Quantities.
Examples

For example, all solidAngle literals below are well formed, test them online.

"1 sr"^^cdt:solidAngle # steradian 
"1 sph"^^cdt:solidAngle # sphere

1.33 cdt:speed

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#speed

Definition speed Datatype - Datatype to encode measurement of quantity kind speed in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a speed unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of speed as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a speed UCUM unit expression to their corresponding speed measures according to the International Systems of Quantities.
Examples

For example, all speed literals below are well formed, test them online.

"120 m/s"^^cdt:speed # meter per second 
"90 km/h"^^cdt:speed # kilometer per hour
"90 km.h-1"^^cdt:speed # kilometer per hour

1.34 cdt:temperature

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#temperature

Definition temperature Datatype - Datatype to encode measurement of quantity kind temperature in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a temperature unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of temperature as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a temperature UCUM unit expression to their corresponding temperature measures according to the International Systems of Quantities.
Examples

For example, all temperature literals below are well formed, test them online.

"273.15 K"^^cdt:temperature # kelvin 
"37.5 Cel"^^cdt:temperature # degree Celsius
"100 [degF]"^^cdt:temperature # degree Fahrenheit
"100 [degR]"^^cdt:temperature # degree Rankine
"100 [degRe]"^^cdt:temperature # degree Réaumur

1.35 cdt:time

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#time

Definition time Datatype - Datatype to encode measurement of quantity kind time in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a time unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of time as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a time UCUM unit expression to their corresponding time measures according to the International Systems of Quantities.
Examples

For example, all time literals below are well formed, test them online.

"1 ns"^^cdt:time # nanosecond
"1 s"^^cdt:time # second
"1 min"^^cdt:time # minute
"1 h"^^cdt:time # hour
"1 d"^^cdt:time # day
"1 a_t"^^cdt:time # tropical year 
"1 a_j"^^cdt:time # mean Julian year  
"1 a_g"^^cdt:time # mean Gregorian year  
"1 a"^^cdt:time # year  
"1 wk"^^cdt:time # week  
"1 mo_s"^^cdt:time # synodal month   
"1 mo_j"^^cdt:time # mean Julian month   
"1 mo_g"^^cdt:time # mean Gregorian month   
"1 mo"^^cdt:time # month

1.36 cdt:volume

RDF Datatype with IRI: http://w3id.org/lindt/custom_datatypes#volume

Definition volume Datatype - Datatype to encode measurement of quantity kind volume in a simple literal.
Lexical space Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a volume unit expression constructed using The Unified Code for Units of Measure code system
Value space Includes Set of volume as defined by the International Systems of Quantities.
Lexical-to-value mapping Maps lexical forms with a volume UCUM unit expression to their corresponding volume measures according to the International Systems of Quantities.
Examples

For example, all volume literals below are well formed, test them online.

"1 L"^^cdt:volume # liter
"1 dm3"^^cdt:volume 
"1 m3"^^cdt:volume # cubic meter
"1 m.m.m"^^cdt:volume # cubic meter
"100 [cin_i]"^^cdt:volume # cubic inch (International customary units)
"100 [gal_br]"^^cdt:volume # gallon (British Imperial volumes)
"100 [pt_br]"^^cdt:volume # pint (British Imperial volumes)

2. Implementation

2.1 On Apache Jena

See https://github.com/OpenSensingCity/jena-ucum

Features

A. References

A.1 Normative references

[rdf11-concepts]
RDF 1.1 Concepts and Abstract Syntax. Richard Cyganiak; David Wood; Markus Lanthaler. W3C. 25 February 2014. W3C Recommendation. URL: https://www.w3.org/TR/rdf11-concepts/
[UCUM]
The Unified Code for Units of Measure. Gunther Schadow; Clement J. McDonald.21 November 2017. URL: http://unitsofmeasure.org/ucum.html