Skip to content

Class: Ingredient

URI: FOODON:00004085

erDiagram Ingredient { } Quantity { string value } Unit { string id string label } FoodItem { string state } FoodType { string id string label } Ingredient ||--|o FoodItem : "food_item" Ingredient ||--|o Quantity : "amount" Quantity ||--|o Unit : "unit" FoodItem ||--|o FoodType : "food"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
food_item 0..1
FoodItem
the food item direct
amount 0..1
Quantity
the quantity of the ingredient, e direct

Usages

used by used in type used
Recipe ingredients range Ingredient

Identifier and Mapping Information

Annotations

property value
owl IntersectionOf

Schema Source

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

Mappings

Mapping Type Mapped Value
self FOODON:00004085
native recipe:Ingredient

LinkML Source

Direct

name: Ingredient
annotations:
  owl:
    tag: owl
    value: IntersectionOf
from_schema: https://w3id.org/ontogpt/recipe
is_a: CompoundExpression
attributes:
  food_item:
    name: food_item
    annotations:
      owl:
        tag: owl
        value: ObjectProperty, ObjectSomeValuesFrom
    description: the food item
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
    domain_of:
    - Ingredient
    range: FoodItem
  amount:
    name: amount
    annotations:
      owl:
        tag: owl
        value: ObjectProperty, ObjectSomeValuesFrom
    description: the quantity of the ingredient, e.g. 2 lbs
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
    domain_of:
    - Ingredient
    range: Quantity
class_uri: FOODON:00004085

Induced

name: Ingredient
annotations:
  owl:
    tag: owl
    value: IntersectionOf
from_schema: https://w3id.org/ontogpt/recipe
is_a: CompoundExpression
attributes:
  food_item:
    name: food_item
    annotations:
      owl:
        tag: owl
        value: ObjectProperty, ObjectSomeValuesFrom
    description: the food item
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
    alias: food_item
    owner: Ingredient
    domain_of:
    - Ingredient
    range: FoodItem
  amount:
    name: amount
    annotations:
      owl:
        tag: owl
        value: ObjectProperty, ObjectSomeValuesFrom
    description: the quantity of the ingredient, e.g. 2 lbs
    from_schema: https://w3id.org/ontogpt/recipe
    rank: 1000
    alias: amount
    owner: Ingredient
    domain_of:
    - Ingredient
    range: Quantity
class_uri: FOODON:00004085