Units of Measurement Ontology (UO)¶
The Units of Measurement Ontology (UO) is a domain ontology designed to provide a standardized vocabulary for metrical units, particularly for use with the Phenotype and Trait Ontology (PATO) and other biomedical ontologies [1] [2]. UO covers a wide range of measurement units, including SI units, derived units, and commonly used non-SI units, supporting the annotation of quantitative data in biological, medical, and scientific research [1] [2]. The ontology enables semantic interoperability and data integration by providing unique identifiers and structured relationships for units and measurement concepts [2]. UO is widely used in bioinformatics, clinical informatics, and scientific data repositories to ensure consistency and comparability of measurement data [2]. By providing a common framework for units of measurement, UO facilitates automated data analysis, semantic search, unit-aware annotation, and cross-study comparison [1] [2]. The ontology is maintained as part of the OBO Foundry ontology ecosystem [1].
Example Usage:
Annotate a biomedical dataset with UO terms to specify measurement units for phenotypic traits, such as UO:0000016 for centimeter or UO:0000021 for gram. This enables semantic search, consistent quantitative annotation, and comparison of measurement data across biomedical datasets [1] [2].
Maximum Breadth |
11 |
Minimum Breadth |
1 |
Average Breadth |
4.40 |
Breadth Variance |
13.84 |
Term Types |
0 |
Taxonomic Relations |
708 |
Non-taxonomic Relations |
0 |
Average Terms per Type |
0.00 |
Usage Example¶
Use the following code to import this ontology programmatically:
from ontolearner.ontology import UO
ontology = UO()
ontology.load("path/to/UO-ontology.owl")
# Extract datasets
data = ontology.extract()
# Access specific relations
term_types = data.term_typings
taxonomic_relations = data.type_taxonomies
non_taxonomic_relations = data.type_non_taxonomic_relations