Skip to content

Class: FoodItem

URI: recipe:FoodItem

classDiagram class FoodItem NamedEntity <|-- FoodItem FoodItem : id FoodItem : label

Inheritance

Slots

Name Cardinality and Range Description Inheritance
label 0..1
NONE
NamedEntity
id 0..1
NONE
NamedEntity

Usages

used by used in type used
Ingredient food_item range FoodItem
Step inputs range FoodItem
Step outputs range FoodItem

Identifier and Mapping Information

Valid ID Prefixes

Instances of this class should have identifiers with one of the following prefixes:

  • FOODON

Annotations

property value
annotators sqlite:obo:foodon

Schema Source

  • from schema: https://w3id.org/linkml/ai/templates/recipe

Mappings

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

LinkML Source

Direct

name: FoodItem
id_prefixes:
- FOODON
annotations:
  annotators:
    tag: annotators
    value: sqlite:obo:foodon
from_schema: https://w3id.org/linkml/ai/templates/recipe
rank: 1000
is_a: NamedEntity

Induced

name: FoodItem
id_prefixes:
- FOODON
annotations:
  annotators:
    tag: annotators
    value: sqlite:obo:foodon
from_schema: https://w3id.org/linkml/ai/templates/recipe
rank: 1000
is_a: NamedEntity
attributes:
  id:
    name: id
    annotations:
      prompt.skip:
        tag: prompt.skip
        value: 'true'
    from_schema: http://w3id.org/linkml/ai/templates/core
    rank: 1000
    identifier: true
    alias: id
    owner: FoodItem
    domain_of:
    - NamedEntity
    - Publication
    range: string
  label:
    name: label
    description: The label of the named thing
    from_schema: http://w3id.org/linkml/ai/templates/core
    rank: 1000
    alias: label
    owner: FoodItem
    domain_of:
    - NamedEntity
    - Recipe
    - Reaction
    - BiologicalProcess
    range: string