Skip to content

Class: QuantityValue

A simple quantity, e.g. 2cm

URI: minimal_metab:QuantityValue

classDiagram class QuantityValue AttributeValue <|-- QuantityValue QuantityValue : has_numeric_value QuantityValue : has_raw_value QuantityValue : has_unit

Inheritance

Slots

Name Cardinality and Range Description Inheritance
has_unit 1..1
Unit
The unit of the quantity direct
has_numeric_value 1..1
Double
The number part of the quantity direct
has_raw_value 0..1
String
Unnormalized atomic string representation, should in syntax {number} {unit} AttributeValue

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/microbiomedata/minimal-metab

Mappings

Mapping Type Mapped Value
self minimal_metab:QuantityValue
native minimal_metab:QuantityValue
undefined schema:QuantityValue

LinkML Source

Direct

name: QuantityValue
description: A simple quantity, e.g. 2cm
from_schema: https://w3id.org/microbiomedata/minimal-metab
mappings:
- schema:QuantityValue
is_a: AttributeValue
slots:
- has_unit
- has_numeric_value
slot_usage:
  has_raw_value:
    name: has_raw_value
    description: Unnormalized atomic string representation, should in syntax {number}
      {unit}
    domain_of:
    - AttributeValue
  has_unit:
    name: has_unit
    description: The unit of the quantity
    domain_of:
    - QuantityValue
  has_numeric_value:
    name: has_numeric_value
    description: The number part of the quantity
    domain_of:
    - QuantityValue
    range: double

Induced

name: QuantityValue
description: A simple quantity, e.g. 2cm
from_schema: https://w3id.org/microbiomedata/minimal-metab
mappings:
- schema:QuantityValue
is_a: AttributeValue
slot_usage:
  has_raw_value:
    name: has_raw_value
    description: Unnormalized atomic string representation, should in syntax {number}
      {unit}
    domain_of:
    - AttributeValue
  has_unit:
    name: has_unit
    description: The unit of the quantity
    domain_of:
    - QuantityValue
  has_numeric_value:
    name: has_numeric_value
    description: The number part of the quantity
    domain_of:
    - QuantityValue
    range: double
attributes:
  has_unit:
    name: has_unit
    description: The unit of the quantity
    from_schema: https://w3id.org/microbiomedata/minimal-metab
    rank: 1000
    alias: has_unit
    owner: QuantityValue
    domain_of:
    - QuantityValue
    range: unit
    required: true
  has_numeric_value:
    name: has_numeric_value
    description: The number part of the quantity
    from_schema: https://w3id.org/microbiomedata/minimal-metab
    rank: 1000
    multivalued: false
    alias: has_numeric_value
    owner: QuantityValue
    domain_of:
    - QuantityValue
    range: double
    required: true
  has_raw_value:
    name: has_raw_value
    description: Unnormalized atomic string representation, should in syntax {number}
      {unit}
    from_schema: https://w3id.org/microbiomedata/minimal-metab
    rank: 1000
    domain: AttributeValue
    multivalued: false
    alias: has_raw_value
    owner: QuantityValue
    domain_of:
    - AttributeValue
    range: string