Skip to content

Class: QuantityValue

A simple quantity, e.g. 2cm. May be used to describe a range using the minimum_value and maximum_value fields.

URI: schema:QuantityValue

classDiagram class QuantityValue click QuantityValue href "../QuantityValue" AttributeValue <|-- QuantityValue click AttributeValue href "../AttributeValue" QuantityValue <|-- Measurement click Measurement href "../Measurement" QuantityValue : attribute_cv_term_id QuantityValue : attribute_name QuantityValue : entity_id QuantityValue : maximum_value QuantityValue : minimum_value QuantityValue : raw_value QuantityValue : unit QuantityValue : value

Inheritance

Slots

Name Cardinality and Range Description Inheritance
maximum_value 0..1
Float
If the quantity describes a range, represents the upper bound of the range direct
minimum_value 0..1
Float
If the quantity describes a range, represents the lower bound of the range direct
value 0..1
Float
The numeric portion of the quantity direct
unit 0..1
Curie
The unit of the quantity direct
entity_id 1
UUID
The database entity (sample, feature, protein, etc AttributeValue
attribute_name 1
String
The attribute being captured in this annotation AttributeValue
attribute_cv_term_id 0..1
LocalCurie
If the attribute is a term from a controlled vocabulary, the ID of the term AttributeValue
raw_value 0..1
String
Raw value from the source data AttributeValue

Identifier and Mapping Information

Schema Source

  • from schema: http://kbase.github.io/cdm-schema/cdm_schema

Mappings

Mapping Type Mapped Value
self schema:QuantityValue
native kb_cdm:QuantityValue

LinkML Source

Direct

name: QuantityValue
description: A simple quantity, e.g. 2cm. May be used to describe a range using the
  minimum_value and maximum_value fields.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
is_a: AttributeValue
attributes:
  maximum_value:
    name: maximum_value
    description: If the quantity describes a range, represents the upper bound of
      the range.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    domain_of:
    - QuantityValue
    range: float
  minimum_value:
    name: minimum_value
    description: If the quantity describes a range, represents the lower bound of
      the range.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    domain_of:
    - QuantityValue
    range: float
  value:
    name: value
    description: The numeric portion of the quantity.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    domain_of:
    - QuantityValue
    - TextValue
    - Statements
    range: float
  unit:
    name: unit
    description: The unit of the quantity. Should be a term from UCUM.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    domain_of:
    - QuantityValue
    range: curie
class_uri: schema:QuantityValue

Induced

name: QuantityValue
description: A simple quantity, e.g. 2cm. May be used to describe a range using the
  minimum_value and maximum_value fields.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
is_a: AttributeValue
attributes:
  maximum_value:
    name: maximum_value
    description: If the quantity describes a range, represents the upper bound of
      the range.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    alias: maximum_value
    owner: QuantityValue
    domain_of:
    - QuantityValue
    range: float
  minimum_value:
    name: minimum_value
    description: If the quantity describes a range, represents the lower bound of
      the range.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    alias: minimum_value
    owner: QuantityValue
    domain_of:
    - QuantityValue
    range: float
  value:
    name: value
    description: The numeric portion of the quantity.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    alias: value
    owner: QuantityValue
    domain_of:
    - QuantityValue
    - TextValue
    - Statements
    range: float
  unit:
    name: unit
    description: The unit of the quantity. Should be a term from UCUM.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    alias: unit
    owner: QuantityValue
    domain_of:
    - QuantityValue
    range: curie
  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/cdm_schema
    rank: 1000
    alias: entity_id
    owner: QuantityValue
    domain_of:
    - Association_X_SupportingObject
    - Entity_X_Measurement
    - ClusterMember
    - Sequence
    - Entity
    - Identifier
    - Name
    - AttributeValue
    range: UUID
    required: true
  attribute_name:
    name: attribute_name
    description: The attribute being captured in this annotation.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    aliases:
    - type
    - name
    rank: 1000
    alias: attribute_name
    owner: QuantityValue
    domain_of:
    - AttributeValue
    range: string
    required: true
  attribute_cv_term_id:
    name: attribute_cv_term_id
    description: If the attribute is a term from a controlled vocabulary, the ID of
      the term.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    alias: attribute_cv_term_id
    owner: QuantityValue
    domain_of:
    - AttributeValue
    range: local_curie
  raw_value:
    name: raw_value
    description: Raw value from the source data. May or may not include units or other
      unstructured information.
    from_schema: http://kbase.github.io/cdm-schema/cdm_attr_value
    rank: 1000
    alias: raw_value
    owner: QuantityValue
    domain_of:
    - AttributeValue
    - Geolocation
    range: string
class_uri: schema:QuantityValue