unit
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
This webpage documents the unit canonical concept dataset, providing concepts for representing units.
The dataset includes information about units, their symbols, positions, and associated text.
It also defines currency units using 3-letter ISO 4217 codes.
The complete dataset is available as an XML file and includes CSV files for specific data tables.
This page documents the unit canonical concept dataset. The
complete XML file is also available for review.
Basic Info
Provider
Imported Namespaces
Topics
No topics defined.
Concepts
Concept: unit
unit [XML ]
Unit
entity:entity
Specifies the unit associated with a metric concept. Example:
<concept id="area_unit" extends="unit:unit">
<info>
<name>
<value>Area in square kilometers</value>
</name>
</info>
<table ref="area_unit_table"/>
</concept>
The table contains a single row that contains the property values:
symbol , symbol_position , unit_text
km² , END , square kilometers
One can then use this unit in defining a metric concept:
<concept id="country_area" extends="quantity:magnitude">
<info>
<name>
<value>Country area in square kilometers</value>
</name>
</info>
<attribute id="unit" concept="area_unit"/>
<table ref="country_area_table"/>
</concept>
No local attributes.
symbol [XML ]
The symbol associated with a unit.
string
unit_text [XML ]
Unit text
string
Descriptive text that can be displayed next to a value.
Concept: symbol_position
Concept: currency
currency [XML ]
Currency unit
unit
currency_table
Specifies the currency associated with a metric concept. Each currency
is identified by its 3-letter currency code (ISO 4217).
No local attributes.
No local properties.
Slices
No slices defined.
Tables
Table: unit_symbol_position_table
unit_symbol_position_table [XML ]
unit_symbol_positions.csv [CSV ]
Name
Type
symbol_position
string
Table: currency_table
currency_table [XML ]
currencies.csv [CSV ]
Name
Type
currency
string
unit_text
string
symbol
string
symbol_position
string
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[null,null,["Last updated 2024-06-26 UTC."],[],["This dataset defines unit concepts, including `unit`, `symbol_position`, and `currency`. The `unit` concept, extending `entity:entity`, specifies units associated with metrics. It includes properties like `symbol`, `symbol_position`, and `unit_text`. `symbol_position` describes the placement of the unit symbol. The `currency` concept, extending `unit`, specifies currencies identified by ISO 4217 codes. Data is stored in tables like `unit_symbol_position_table` and `currency_table`, accessible as XML and CSV files.\n"]]