Skip to content

Class: Quantity

URI: cmdr:Quantity

classDiagram class Quantity Quantity : comparator Quantity : has_numeric_value Quantity : has_raw_value Quantity : has_unit

Slots

Name Cardinality and Range Description Inheritance
has_raw_value 0..1
String
direct
has_numeric_value 0..1
Float
direct
has_unit 0..1
String
direct
comparator 0..1
String
direct

Usages

used by used in type used
MaterialEntity volume range Quantity
MaterialEntity concentration range Quantity

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/cmdr

Mappings

Mapping Type Mapped Value
self cmdr:Quantity
native cmdr:Quantity

LinkML Source

Direct

name: Quantity
from_schema: https://w3id.org/linkml/cmdr
slots:
- has_raw_value
- has_numeric_value
- has_unit
- comparator
slot_usage:
  comparator:
    name: comparator
    domain_of:
    - Quantity
    range: string
  has_numeric_value:
    name: has_numeric_value
    domain_of:
    - Quantity
    range: float
  has_raw_value:
    name: has_raw_value
    domain_of:
    - Quantity
    range: string
  has_unit:
    name: has_unit
    domain_of:
    - Quantity
    range: string

Induced

name: Quantity
from_schema: https://w3id.org/linkml/cmdr
slot_usage:
  comparator:
    name: comparator
    domain_of:
    - Quantity
    range: string
  has_numeric_value:
    name: has_numeric_value
    domain_of:
    - Quantity
    range: float
  has_raw_value:
    name: has_raw_value
    domain_of:
    - Quantity
    range: string
  has_unit:
    name: has_unit
    domain_of:
    - Quantity
    range: string
attributes:
  has_raw_value:
    name: has_raw_value
    from_schema: https://w3id.org/linkml/cmdr
    rank: 1000
    alias: has_raw_value
    owner: Quantity
    domain_of:
    - Quantity
    range: string
  has_numeric_value:
    name: has_numeric_value
    from_schema: https://w3id.org/linkml/cmdr
    rank: 1000
    alias: has_numeric_value
    owner: Quantity
    domain_of:
    - Quantity
    range: float
  has_unit:
    name: has_unit
    from_schema: https://w3id.org/linkml/cmdr
    rank: 1000
    alias: has_unit
    owner: Quantity
    domain_of:
    - Quantity
    range: string
  comparator:
    name: comparator
    from_schema: https://w3id.org/linkml/cmdr
    rank: 1000
    alias: comparator
    owner: Quantity
    domain_of:
    - Quantity
    range: string