Class: UnitMixin
The unit used in expressing a quantity value.
URI: kb_cdm:UnitMixin
classDiagram
class UnitMixin
click UnitMixin href "../UnitMixin/"
UnitMixin <|-- EntityAttributeValue
click EntityAttributeValue href "../EntityAttributeValue/"
UnitMixin <|-- QuantityValue
click QuantityValue href "../QuantityValue/"
UnitMixin <|-- QuantityRangeValue
click QuantityRangeValue href "../QuantityRangeValue/"
UnitMixin : unit_cv_id
UnitMixin : unit_cv_label
UnitMixin : unit_string
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
unit_cv_id | 0..1 LocalCurie |
The unit of the quantity, expressed as a CURIE from the Unit Ontology. | direct |
unit_cv_label | 0..1 LocalCurieName |
The unit of a quantity, expressed as the term name of a term from the Unit Ontology or UCUM. | direct |
unit_string | 0..1 String |
Links a QuantityValue to a unit. Units should be taken from the UCUM unit collection or the Unit Ontology. This field should only be used if the unit is not present in one of those sources. | direct |
Mixin Usage
mixed into | description |
---|---|
EntityAttributeValue | Class comprising all possible entity-attribute-value slots. |
QuantityValue | A simple quantity, e.g. 2 cm. |
QuantityRangeValue | A numerical range, e.g. 5-7 cm. |
Identifier and Mapping Information
Schema Source
- from schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
Mappings
Mapping Type | Mapped Value |
---|---|
self | kb_cdm:UnitMixin |
native | kb_cdm:UnitMixin |
LinkML Source
Direct
name: UnitMixin
description: The unit used in expressing a quantity value.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
mixin: true
slots:
- unit_cv_id
- unit_cv_label
- unit_string
Induced
name: UnitMixin
description: The unit used in expressing a quantity value.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
mixin: true
attributes:
unit_cv_id:
name: unit_cv_id
description: The unit of the quantity, expressed as a CURIE from the Unit Ontology.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
aliases:
- unit term ID
- unit PID
rank: 1000
alias: unit_cv_id
owner: UnitMixin
domain_of:
- UnitMixin
range: local_curie
unit_cv_label:
name: unit_cv_label
description: The unit of a quantity, expressed as the term name of a term from
the Unit Ontology or UCUM.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
aliases:
- unit term name
rank: 1000
alias: unit_cv_label
owner: UnitMixin
domain_of:
- UnitMixin
range: local_curie_name
unit_string:
name: unit_string
description: Links a QuantityValue to a unit. Units should be taken from the UCUM
unit collection or the Unit Ontology. This field should only be used if the
unit is not present in one of those sources.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
aliases:
- scale
mappings:
- nmdc:unit
- qud:unit
- schema:unitCode
- UO:0000000
rank: 1000
alias: unit_string
owner: UnitMixin
domain_of:
- UnitMixin
range: string