Class: Recipe
URI: recipe:Recipe
erDiagram
Recipe {
uriorcurie url
string label
string description
}
Step {
}
UtensilType {
string id
string label
}
FoodItem {
string state
}
Action {
string id
string label
}
Ingredient {
}
Quantity {
string value
}
RecipeCategory {
string id
string label
}
Recipe ||--}o RecipeCategory : "categories"
Recipe ||--}o Ingredient : "ingredients"
Recipe ||--}o Step : "steps"
Step ||--|o Action : "action"
Step ||--}o FoodItem : "inputs"
Step ||--}o FoodItem : "outputs"
Step ||--}o UtensilType : "utensils"
FoodItem ||--|o FoodType : "food"
Ingredient ||--|o FoodItem : "food_item"
Ingredient ||--|o Quantity : "amount"
Quantity ||--|o Unit : "unit"
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
url | 1 Uriorcurie |
direct | |
label | 0..1 String |
the name of the recipe | direct |
description | 0..1 String |
a brief textual description of the recipe | direct |
categories | * RecipeCategory |
a semicolon separated list of the categories to which this recipe belongs | direct |
ingredients | * Ingredient |
a semicolon separated list of the ingredients plus quantities of the recipe | direct |
steps | * Step |
a semicolon separated list of the individual steps involved in this recipe | direct |
Identifier and Mapping Information
Annotations
property | value |
---|---|
owl | Class |
{{url}} | |
ObjectIntersectionOf( | |
recipe:Recipe |
{% for step in steps %}
ObjectSomeValuesFrom(
recipe:steps
{{tr(step)}}
)
{% endfor %}
{% for ingredient in ingredients %}
ObjectSomeValuesFrom(
FOODON:00002420
{{tr(ingredient)}}
)
{% endfor %}
) ) |
Schema Source
- from schema: https://w3id.org/ontogpt/recipe
Mappings
Mapping Type | Mapped Value |
---|---|
self | recipe:Recipe |
native | recipe:Recipe |
close | FOODON:00004081 |
LinkML Source
Direct
name: Recipe
annotations:
owl:
tag: owl
value: Class
owl.template:
tag: owl.template
value: "EquivalentClasses(\n {{url}}\n ObjectIntersectionOf(\n recipe:Recipe\n\
\ \n {% for step in steps %}\n ObjectSomeValuesFrom(\n recipe:steps\n\
\ {{tr(step)}}\n )\n {% endfor %}\n {% for ingredient in ingredients\
\ %}\n ObjectSomeValuesFrom(\n FOODON:00002420\n {{tr(ingredient)}}\n\
\ )\n {% endfor %}\n )\n)\n"
from_schema: https://w3id.org/ontogpt/recipe
close_mappings:
- FOODON:00004081
attributes:
url:
name: url
annotations:
prompt.skip:
tag: prompt.skip
value: true
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: rdf:Resource
identifier: true
domain_of:
- Recipe
range: uriorcurie
required: true
label:
name: label
annotations:
owl:
tag: owl
value: AnnotationProperty, AnnotationAssertion
description: the name of the recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: rdfs:label
domain_of:
- Recipe
- NamedEntity
description:
name: description
annotations:
owl:
tag: owl
value: AnnotationProperty, AnnotationAssertion
description: a brief textual description of the recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: dcterms:description
domain_of:
- Recipe
categories:
name: categories
annotations:
owl:
tag: owl
value: AnnotationAssertion
description: a semicolon separated list of the categories to which this recipe
belongs
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: dcterms:subject
multivalued: true
domain_of:
- Recipe
range: RecipeCategory
ingredients:
name: ingredients
annotations:
owl:
tag: owl
value: ObjectProperty, ObjectSomeValuesFrom
description: a semicolon separated list of the ingredients plus quantities of
the recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: FOODON:00002420
multivalued: true
domain_of:
- Recipe
range: Ingredient
steps:
name: steps
annotations:
owl:
tag: owl
value: ObjectProperty, ObjectSomeValuesFrom
description: a semicolon separated list of the individual steps involved in this
recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
multivalued: true
domain_of:
- Recipe
range: Step
tree_root: true
Induced
name: Recipe
annotations:
owl:
tag: owl
value: Class
owl.template:
tag: owl.template
value: "EquivalentClasses(\n {{url}}\n ObjectIntersectionOf(\n recipe:Recipe\n\
\ \n {% for step in steps %}\n ObjectSomeValuesFrom(\n recipe:steps\n\
\ {{tr(step)}}\n )\n {% endfor %}\n {% for ingredient in ingredients\
\ %}\n ObjectSomeValuesFrom(\n FOODON:00002420\n {{tr(ingredient)}}\n\
\ )\n {% endfor %}\n )\n)\n"
from_schema: https://w3id.org/ontogpt/recipe
close_mappings:
- FOODON:00004081
attributes:
url:
name: url
annotations:
prompt.skip:
tag: prompt.skip
value: true
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: rdf:Resource
identifier: true
alias: url
owner: Recipe
domain_of:
- Recipe
range: uriorcurie
required: true
label:
name: label
annotations:
owl:
tag: owl
value: AnnotationProperty, AnnotationAssertion
description: the name of the recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: rdfs:label
alias: label
owner: Recipe
domain_of:
- Recipe
- NamedEntity
range: string
description:
name: description
annotations:
owl:
tag: owl
value: AnnotationProperty, AnnotationAssertion
description: a brief textual description of the recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: dcterms:description
alias: description
owner: Recipe
domain_of:
- Recipe
range: string
categories:
name: categories
annotations:
owl:
tag: owl
value: AnnotationAssertion
description: a semicolon separated list of the categories to which this recipe
belongs
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: dcterms:subject
multivalued: true
alias: categories
owner: Recipe
domain_of:
- Recipe
range: RecipeCategory
ingredients:
name: ingredients
annotations:
owl:
tag: owl
value: ObjectProperty, ObjectSomeValuesFrom
description: a semicolon separated list of the ingredients plus quantities of
the recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
slot_uri: FOODON:00002420
multivalued: true
alias: ingredients
owner: Recipe
domain_of:
- Recipe
range: Ingredient
steps:
name: steps
annotations:
owl:
tag: owl
value: ObjectProperty, ObjectSomeValuesFrom
description: a semicolon separated list of the individual steps involved in this
recipe
from_schema: https://w3id.org/ontogpt/recipe
rank: 1000
multivalued: true
alias: steps
owner: Recipe
domain_of:
- Recipe
range: Step
tree_root: true