Skip to content

Class: QuantityRangeValue

A numerical range, e.g. 5-7 cm.

URI: kb_cdm:QuantityRangeValue

classDiagram class QuantityRangeValue click QuantityRangeValue href "../QuantityRangeValue/" UnitMixin <|-- QuantityRangeValue click UnitMixin href "../UnitMixin/" AttributeValue <|-- QuantityRangeValue click AttributeValue href "../AttributeValue/" QuantityRangeValue : attribute_cv_id QuantityRangeValue : attribute_cv_label QuantityRangeValue : attribute_string QuantityRangeValue : entity_id QuantityRangeValue : maximum_numeric_value QuantityRangeValue : minimum_numeric_value QuantityRangeValue : raw_value QuantityRangeValue : type QuantityRangeValue --> "0..1" AttributeValueType : type click AttributeValueType href "../AttributeValueType/" QuantityRangeValue : unit_cv_id QuantityRangeValue : unit_cv_label QuantityRangeValue : unit_string

Inheritance

Slots

Name Cardinality and Range Description Inheritance
maximum_numeric_value 1
Float
The maximum value part, expressed as number, of the quantity value when the value covers a range. direct
minimum_numeric_value 1
Float
The minimum value part, expressed as number, of the quantity value when the value covers a range. direct
unit_cv_id 0..1
LocalCurie
The unit of the quantity, expressed as a CURIE from the Unit Ontology. UnitMixin
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. UnitMixin
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. UnitMixin
raw_value 0..1
String
Unnormalized atomic string representation, suggested syntax {minimum_number}-{maximum_number} {unit} AttributeValue
type 0..1
AttributeValueType
The type of value being represented - e.g. QuantityValue, TextValue, DateTimeValue, ControlledVocabularyTermValue, etc. AttributeValue
attribute_cv_id 0..1
LocalCurie
The attribute being represented. For attributes that are in a controlled vocabulary, ontology, or enumeration, this attribute should capture the term ID from the controlled vocabulary. AttributeMixin
attribute_cv_label 0..1
LocalCurieName
The attribute being represented. For attributes that are in a controlled vocabulary, ontology, or enumeration, this attribute should capture the term from the controlled vocabulary. AttributeMixin
attribute_string 0..1
String
The attribute being represented, as a text string. This field should only be used if the attribute is not represented in a controlled vocabulary, ontology, or enumeration. AttributeMixin
entity_id 1
CdmId
The database entity (sample, feature, protein, etc.) to which the attribute-value annotation refers. EntityMixin

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:QuantityRangeValue
native kb_cdm:QuantityRangeValue
undefined schema:QuantityRangeValue

LinkML Source

Direct

name: QuantityRangeValue
description: A numerical range, e.g. 5-7 cm.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
mappings:
- schema:QuantityRangeValue
is_a: AttributeValue
mixins:
- UnitMixin
slots:
- maximum_numeric_value
- minimum_numeric_value
slot_usage:
  maximum_numeric_value:
    name: maximum_numeric_value
    required: true
  minimum_numeric_value:
    name: minimum_numeric_value
    required: true
  raw_value:
    name: raw_value
    description: Unnormalized atomic string representation, suggested syntax {minimum_number}-{maximum_number}
      {unit}
  type:
    name: type
    ifabsent: kb_cdm:QuantityRangeValue

Induced

name: QuantityRangeValue
description: A numerical range, e.g. 5-7 cm.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
mappings:
- schema:QuantityRangeValue
is_a: AttributeValue
mixins:
- UnitMixin
slot_usage:
  maximum_numeric_value:
    name: maximum_numeric_value
    required: true
  minimum_numeric_value:
    name: minimum_numeric_value
    required: true
  raw_value:
    name: raw_value
    description: Unnormalized atomic string representation, suggested syntax {minimum_number}-{maximum_number}
      {unit}
  type:
    name: type
    ifabsent: kb_cdm:QuantityRangeValue
attributes:
  maximum_numeric_value:
    name: maximum_numeric_value
    description: The maximum value part, expressed as number, of the quantity value
      when the value covers a range.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    mappings:
    - nmdc:maximum_numeric_value
    rank: 1000
    alias: maximum_numeric_value
    owner: QuantityRangeValue
    domain_of:
    - EntityAttributeValue
    - QuantityRangeValue
    range: float
    required: true
  minimum_numeric_value:
    name: minimum_numeric_value
    description: The minimum value part, expressed as number, of the quantity value
      when the value covers a range.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    mappings:
    - nmdc:minimum_numeric_value
    rank: 1000
    alias: minimum_numeric_value
    owner: QuantityRangeValue
    domain_of:
    - EntityAttributeValue
    - QuantityRangeValue
    range: float
    required: true
  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: QuantityRangeValue
    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: QuantityRangeValue
    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: QuantityRangeValue
    domain_of:
    - UnitMixin
    range: string
  raw_value:
    name: raw_value
    description: Unnormalized atomic string representation, suggested syntax {minimum_number}-{maximum_number}
      {unit}
    examples:
    - value: 2 cm
    - value: 2 to 5m
    - value: 37-39 degrees celcius
    - value: Regulation of glucose biosynthesis.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    mappings:
    - nmdc:raw_value
    rank: 1000
    alias: raw_value
    owner: QuantityRangeValue
    domain_of:
    - AttributeValue
    range: string
  type:
    name: type
    description: The type of value being represented - e.g. QuantityValue, TextValue,
      DateTimeValue, ControlledVocabularyTermValue, etc.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    ifabsent: kb_cdm:QuantityRangeValue
    alias: type
    owner: QuantityRangeValue
    domain_of:
    - AttributeValue
    - EncodedFeature
    - Feature
    - Sample
    - Sequence
    range: AttributeValueType
  attribute_cv_id:
    name: attribute_cv_id
    description: The attribute being represented. For attributes that are in a controlled
      vocabulary, ontology, or enumeration, this attribute should capture the term
      ID from the controlled vocabulary.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - attribute term ID
    - attribute PID
    rank: 1000
    alias: attribute_cv_id
    owner: QuantityRangeValue
    domain_of:
    - AttributeMixin
    range: local_curie
  attribute_cv_label:
    name: attribute_cv_label
    description: The attribute being represented. For attributes that are in a controlled
      vocabulary, ontology, or enumeration, this attribute should capture the term
      from the controlled vocabulary.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - attribute term name
    rank: 1000
    alias: attribute_cv_label
    owner: QuantityRangeValue
    domain_of:
    - AttributeMixin
    range: local_curie_name
  attribute_string:
    name: attribute_string
    description: The attribute being represented, as a text string. This field should
      only be used if the attribute is not represented in a controlled vocabulary,
      ontology, or enumeration.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - attribute
    - tag
    rank: 1000
    alias: attribute_string
    owner: QuantityRangeValue
    domain_of:
    - AttributeMixin
    range: string
  entity_id:
    name: entity_id
    description: The database entity (sample, feature, protein, etc.) to which the
      attribute-value annotation refers.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_attr_value
    alias: entity_id
    owner: QuantityRangeValue
    domain_of:
    - ClusterMember
    - EntityMixin
    - Entity
    - Identifier
    - Name
    - Sequence
    - Association_x_SupportingObject
    range: cdm_id
    required: true