Skip to content

Class: Quantity

URI: recipe:Quantity

erDiagram Quantity { string value } Unit { string id string label } Quantity ||--|o Unit : "unit"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
value 0..1
String
the value of the quantity direct
unit 0..1
Unit
the unit of the quantity, e direct

Usages

used by used in type used
Ingredient amount range Quantity

Identifier and Mapping Information

Annotations

property value
owl IntersectionOf

Schema Source

  • from schema: https://w3id.org/ontogpt/recipe

Mappings

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

LinkML Source

Direct

name: Quantity
annotations:
  owl:
    tag: owl
    value: IntersectionOf
from_schema: https://w3id.org/ontogpt/recipe
is_a: CompoundExpression
attributes:
  value:
    name: value
    annotations:
      owl:
        tag: owl
        value: DataProperty, DataHasValue
    description: the value of the quantity
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
  unit:
    name: unit
    annotations:
      owl:
        tag: owl
        value: ObjectProperty, ObjectSomeValuesFrom
    description: the unit of the quantity, e.g. grams, cups, etc.
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
    slot_uri: qudt:unit
    range: Unit

Induced

name: Quantity
annotations:
  owl:
    tag: owl
    value: IntersectionOf
from_schema: https://w3id.org/ontogpt/recipe
is_a: CompoundExpression
attributes:
  value:
    name: value
    annotations:
      owl:
        tag: owl
        value: DataProperty, DataHasValue
    description: the value of the quantity
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
    alias: value
    owner: Quantity
    domain_of:
    - Quantity
    range: string
  unit:
    name: unit
    annotations:
      owl:
        tag: owl
        value: ObjectProperty, ObjectSomeValuesFrom
    description: the unit of the quantity, e.g. grams, cups, etc.
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
    slot_uri: qudt:unit
    alias: unit
    owner: Quantity
    domain_of:
    - Quantity
    range: Unit