Skip to content

Class: QuantityValue

A simple quantity, e.g. 2cm

URI: nmdc:QuantityValue

classDiagram class QuantityValue click QuantityValue href "../QuantityValue/" AttributeValue <|-- QuantityValue click AttributeValue href "../AttributeValue/" QuantityValue : attribute QuantityValue --> "1" Attribute : attribute click Attribute href "../Attribute/" QuantityValue : maximum_numeric_value QuantityValue : minimum_numeric_value QuantityValue : numeric_value QuantityValue : raw_value QuantityValue : unit

Inheritance

Slots

Name Cardinality and Range Description Inheritance
maximum_numeric_value 0..1
Float
The maximum value part, expressed as number, of the quantity value when the value covers a range. direct
minimum_numeric_value 0..1
Float
The minimum value part, expressed as number, of the quantity value when the value covers a range. direct
numeric_value 0..1
Float
The number part of the quantity direct
unit 0..1
unit
The unit of the quantity direct
attribute 1
Attribute
The attribute being represented. AttributeValue
raw_value 0..1
String
Unnormalized atomic string representation, suggested syntax {number} {unit} AttributeValue

Usages

used by used in type used
Entity properties any_of[range] QuantityValue

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/ber-data/bertron-schema

Mappings

Mapping Type Mapped Value
self nmdc:QuantityValue
native bertron:QuantityValue
undefined schema:QuantityValue

LinkML Source

Direct

name: QuantityValue
description: A simple quantity, e.g. 2cm
from_schema: https://w3id.org/ber-data/bertron-schema
mappings:
- schema:QuantityValue
is_a: AttributeValue
slots:
- maximum_numeric_value
- minimum_numeric_value
- numeric_value
- unit
slot_usage:
  raw_value:
    name: raw_value
    description: Unnormalized atomic string representation, suggested syntax {number}
      {unit}
  unit:
    name: unit
    description: The unit of the quantity
  numeric_value:
    name: numeric_value
    description: The number part of the quantity
class_uri: nmdc:QuantityValue

Induced

name: QuantityValue
description: A simple quantity, e.g. 2cm
from_schema: https://w3id.org/ber-data/bertron-schema
mappings:
- schema:QuantityValue
is_a: AttributeValue
slot_usage:
  raw_value:
    name: raw_value
    description: Unnormalized atomic string representation, suggested syntax {number}
      {unit}
  unit:
    name: unit
    description: The unit of the quantity
  numeric_value:
    name: numeric_value
    description: The number part of the quantity
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: https://w3id.org/ber-data/bertron-schema
    mappings:
    - nmdc:maximum_numeric_value
    rank: 1000
    is_a: numeric_value
    alias: maximum_numeric_value
    owner: QuantityValue
    domain_of:
    - QuantityValue
    - NamedQuantityValue
    range: float
  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: https://w3id.org/ber-data/bertron-schema
    mappings:
    - nmdc:minimum_numeric_value
    rank: 1000
    is_a: numeric_value
    alias: minimum_numeric_value
    owner: QuantityValue
    domain_of:
    - QuantityValue
    - NamedQuantityValue
    range: float
  numeric_value:
    name: numeric_value
    description: The number part of the quantity
    from_schema: https://w3id.org/ber-data/bertron-schema
    mappings:
    - nmdc:numeric_value
    - qud:quantityValue
    - schema:value
    rank: 1000
    alias: numeric_value
    owner: QuantityValue
    domain_of:
    - QuantityValue
    - NamedQuantityValue
    range: float
  unit:
    name: unit
    description: The unit of the quantity
    from_schema: https://w3id.org/ber-data/bertron-schema
    aliases:
    - scale
    mappings:
    - nmdc:unit
    - qud:unit
    - schema:unitCode
    rank: 1000
    alias: unit
    owner: QuantityValue
    domain_of:
    - QuantityValue
    - NamedQuantityValue
    range: unit
  attribute:
    name: attribute
    description: The attribute being represented.
    from_schema: https://w3id.org/ber-data/bertron_types
    rank: 1000
    alias: attribute
    owner: QuantityValue
    domain_of:
    - AttributeValue
    range: Attribute
    required: true
  raw_value:
    name: raw_value
    description: Unnormalized atomic string representation, suggested syntax {number}
      {unit}
    from_schema: https://w3id.org/ber-data/bertron_types
    alias: raw_value
    owner: QuantityValue
    domain_of:
    - AttributeValue
    - NamedQuantityValue
    range: string
class_uri: nmdc:QuantityValue