Wikidata:Property proposal/UCUM code

From Wikidata
Jump to navigation Jump to search

UCUM code[edit]

Originally proposed at Wikidata:Property proposal/Natural science

   Done: UCUM code (P7825) (Talk and documentation)
DescriptionCase-sensitive code from the Unified Code for Units of Measure specification to identify a unit of measurement
RepresentsUnified Code for Units of Measure (Q2494286)
Data typeExternal identifier
Domainunit of measurement (Q47574)
Example 1metre (Q11573) → "m"
Example 2ångström (Q81454) → "Ao"
Example 3metre per square second (Q1051665) → "m/s2"
Example 4cubic yard (Q2165290) → "[cyd_i]"
SourceUCUM specification http://unitsofmeasure.org/ucum.html and UCUM specification in XML http://unitsofmeasure.org/ucum-essence.xml
Planned useLink as much units from UCUM specification into Wikidata as possible, identifying missing units in Wikidata
Number of IDs in source334
Expected completenesseventually complete (Q21873974)
See alsohttps://www.wikidata.org/wiki/Wikidata:Project_chat#Link_UCUM_unit_symbols

Motivation[edit]

It would be useful to link each item related with a unit of measurement with the unit symbols of the UCUM specification, which defines a set of codes to unambiguously represent all unit symbols currently used internationally in science, engineering, and business. It's focused on machine-to-machine communication, so it's a good candidate to be linked within wikidata :-)

The UCUM specification defines all codes, and there is also an UCUM specification in XML. For each unit of measurement different attributes are defined, like:

  • full unit name (e.g. "meter")
  • quantity kind (e.g. "length")
  • different (clean 7-bit US-ASCII) symbol codes:
    • case-sensitive code (e.g. m for metre, Ao for Ångström, or [ft_i] for foot)
    • case-insensitive code (e.g. M for metre, AO for Ångström, or [FT_I] for foot), for machines that cannot work with lower-case letters
    • human-readable printable unit (e.g. "m" for metre, "Å" for Ångström, or "ft" for foot)
  • definition factor (e.g. "0.1 nm" for Ångström)
  • Whether SI prefixes can be used with this unit or not (e.g. "km" means 1000 meters, but "kmin" cannot be used to indicate 1000 minutes)

Thefore, if each wikidata item about a unit of measurement is linked with the UCUM code, it would be possible to automatically extract/check from the UCUM specification some information like the definition factor for unit conversions and so on. Or detect missing items in Wikidata. —surueña 11:03, 28 December 2019 (UTC)[reply]

Discussion[edit]

@ديفيد عادل وهبة خليل 2, Toni 001, Pere prlpz, Vahurzpu, Suruena: ✓ Done: UCUM code (P7825). − Pintoch (talk) 14:19, 14 January 2020 (UTC)[reply]