Skip to content

Class: FoodIngredient

URI: linkml_common:FoodIngredient

classDiagram class FoodIngredient Quantity <|-- FoodIngredient FoodIngredient : has_quantity_kind FoodIngredient --> QuantityKind : has_quantity_kind FoodIngredient : type

Inheritance

Slots

Name Cardinality and Range Description Inheritance
has_quantity_kind 0..1
QuantityKind
The kind of quantity Quantity
type 0..1
String
A type for a thing Entity

Usages

used by used in type used
FoodRecipe ingredients range FoodIngredient

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/linkml-common

Mappings

Mapping Type Mapped Value
self linkml_common:FoodIngredient
native linkml_common:FoodIngredient

LinkML Source

Direct

name: FoodIngredient
from_schema: https://w3id.org/linkml/linkml-common
is_a: Quantity

Induced

name: FoodIngredient
from_schema: https://w3id.org/linkml/linkml-common
is_a: Quantity
attributes:
  has_quantity_kind:
    name: has_quantity_kind
    description: The kind of quantity
    from_schema: https://w3id.org/linkml-common/quantities
    rank: 1000
    alias: has_quantity_kind
    owner: FoodIngredient
    domain_of:
    - Quantity
    range: QuantityKind
  type:
    name: type
    description: A type for a thing. The range of this should be a class within the
      schema. It is intended for schema-based classification. Anything beneath the
      shoreline of the schema should use `classification`.
    from_schema: https://w3id.org/linkml/linkml-common
    rank: 1000
    designates_type: true
    alias: type
    owner: FoodIngredient
    domain_of:
    - Entity
    - NamedThing
    range: string