Annex C Outline of Syntax References (Informative)

C.1 UCUM syntax reference

Type Language / syntactical evaluation of unit expressions
Coverage Unlimited / is able to express any imaginable unit of measure
Hosted by Regenstrief Institute
Homepage https://ucum.org

UCUM (Unified Code for Units of Measure) can represent any unit used in science, engineering a business for electronic communication. It provides a single coding system for units that is complete, free of all ambiguities, and that assigns to each defined unit a concise semantics.

UCUM makes use of atomic expressions representing well known base units and a syntax used to combine these atoms to more complex units if needed.

The SI/ISQ as well as other unit systems system allows an unlimited number of possible unit expressions for a single unit. UCUM is able to clearly identify a unit no matter what unit expression is used for it.

UCUM is a recognized standard in a wide field of applications and is recommended or incorporated by other standards for example the medical field (HL7, DICOM, ISO 11240), or geosciences (WMS, GML)

UCUM defines

C.2 QUDT syntax reference

Type Ontology
Coverage Limited / around 1750 Units originating from 10 systems of units for 880 quantity kinds
Hosted by public charity non-profit organization
Homepage

https://qudt.org

https://github.com/qudt/qudt-public-repo

The QUDT ontology includes

QUDT is modelled in OWL (Web Ontology Language). Other descriptions and interfaces are available like RDF/XML, TURTLE, JSON or SPARQL.

QUDT not only focuses on defining models and a publicly available vocabulary to express quantities and units but also wants to offer a translation between existing standards doing the same. Therefore, the ontology also names UCUM, UNECE, IEC 61360 and LaTeX codes for the entries.

QUDT originated from a NASA project trying to define a semantic specification for units of measure, quantity kind and dimensions used in science and engineering. Today it is governed by a board of directors from different research institutes and the industry.

Quantity examples:

QUDT codeSymbolName
quantitykind:Lengthllength
quantitykind:LinearThermalExpansionm/Klinear thermal expansion

Unit examples:

QUDT codeSymbolName
unit:Mmmetre
unit:CentiMcmcentimetre
unit:MI_Nn milenautical mile
unit:ANGSTROMÅangstrom
unit:MicroM-PER-Kµm/Kmicrometre per kelvin
unit:FATHfathfathom

C.3 UNECE syntax reference

Type Dictionary
Coverage A single list of code elements for units of measure for use worldwide in administration, commerce, transport, science and technology.
Hosted by The United Nations, through its Centre for Trade Facilitation and Electronic Business (UN/CEFACT).
Homepage https://www.unece.org/cefact/

The United Nations Economic Commission for Europe through its UN Centre for Trade Facilitation and Electronic Business (https://www.unece.org/cefact/), develops, maintains and publishes for free of charge a number of code lists.

Recommendation 20 provides three character alphabetic and alphanumeric codes for representing units of measurement for length, area, volume/capacity, mass (weight), time, and other quantities used in international trade. The codes are intended for use in manual and/or automated systems for the exchange of information in administration, commerce, transport, science and technology.

The code list (see https://unece.org/trade/cefact/UNLOCODE-Download) is presented in three separate annexes:

Annex I – Code elements listed by quantity category;

Annex II – Code elements listed by unit of measure name; and

Annex III – Code elements listed by common code.

See 5.6.4.4 how this information is mapped to Properties of DataType EUInformation.

Unit examples:

UNECE codeSymbolName
MTRmmetre
CMTcmcentimetre
NMIn milenautical mile
A11Åangstrom
F50µm/Kmicrometre per kelvin
AKfthfathom
INHininch
L98yd/°Fyard per degree Fahrenheit
MTKM2square metre
ACRacreacre
MTQM3cubic metre
LTRllitre

C.4 IEC CDD syntax reference

Type Dictionary
Coverage A registry for metadata used for classification and description of products in all industrial/technical domains.
Hosted by International Electrotechnical Commission (IEC)
Homepage https://cdd.iec.ch/

The IEC Common Data Dictionary (CDD) is a registry for metadata used for classification and description of products in all industrial/technical domains.

The data model is described in IEC 61360. The dictionary includes quantities and units that are described in IEC 62720 - Identification of units of measurement for computer-based processing.

It covers any standard or non-standard units of measure currently in use, in two or more distinct ethno-linguistic groups or nations, at least in one domain of industry, for which an explicit method of conversion to a known standard unit of measure or its equivalent is well documented or evident from external references.

Quantity examples:

IRDISymbolName
0112/2///62720#UAD002#001---acceleration
0112/2///62720#UAD107#001---mass flow rate

Unit examples:

IRDISymbolName
0112/2///62720#UAB044#001in/s2inch per second squared
0112/2///62720#UAA497#001g/sgram per second

C.5 LATEX_SIUNITX syntax reference

Type Typesetting Rules
Coverage Limited / Focuses on the SI units and provides rules to create complex units
Hosted by Joseph Wright
Homepage

siunitx is free at

https://ctan.org/pkg/siunitx

https://www.texdev.net/

The siunitx package is a set of tools for the software system LaTeX. It is used to typeset pysical quantities from the SI. The package has an extended set of configuration options which make it possible to follow varying typographic conventions with the same input syntax.

Unit examples:

LATEX_SIUNITX codeSymbolName
\unit{m}mmetre
\unit{\centi\meter}cmcentimetre
\unit{\nauticalmile}n milenautical mile
\unit{\ångström}Åangstrom
\unit{\micro\meter\per\kelvin}µm/Kmicrometre per kelvin