Skip to content
Ontology docs

Documentation generated from LinkML

What to Make Base Ontology

The goal of this project is to create a system capable of recommending recipes to a user subject to the ingredients that user has on hand and the time they want to spend cooking. The system should also be able to recommend best-matched substitutions for ingredients where appropriate in order to meet the user’s taste preferences or food allergy related needs. The users are allowed to specify the meal types (e.g. lunch) and course types (e.g. entree) in the request. If the users request not to have recipes that contain high Glycemic Index (GI) ingredients, the system will avoid offering these high glycemic recipes in the recommendations.

Classes

Class Description
BreakfastRecipe a class that contains recipes of type breakfast
Characteristic a distinguishing trait, quality, or property
ChemicalFoodProduct a food substance derived from a nonliving source (e.g., salt, water or synthesized compounds)
Course dfferent types of specific sets of food items that are served together during a meal
DinnerRecipe a class that contains recipes of type dinner
FOODON_03400737
FOODON_03400740
FOODON_03400741
Flavor the quality of something that affects the sense of taste
Food something that can be eaten
Ingredient a food that is used with other foods in the preparation of a particular dish
LessThanOneHourRecipe a class that contains all recipes that only take one hour to cook
LunchRecipe a class that contains recipes of type lunch
Meal a class that links a recipe to a certain meal
Measurement an adequate or due portion
MeatFromChicken the muscular tissues from a chicken
MeatFromCow the muscular tissues from a cow
MeatFromLamb the muscular tissues from a lamb
MeatFromPig the muscular tissues from a pig
MilkFromCow milk obtained from a cow
Mushroom the fleshy, spore-bearing fruiting body of a fungus, typically produced above ground on soil or on its food source
PrimaryFoodCommodityOfFungusOrigin unaltered food derived from fungus
Recipe a combination of ingredients and a method, created by a chef, that produces a food
SideRecipe a class that contains recipes of type side
TemperatureMeasurement degree of hotness or coldness measured on a definite scale
Texture the characteristic physical structure given to a material, an object, etc., by the size, shape, arrangement, and proportions of its parts
TimeMeasurement the measured or measurable period during which an action, process, or condition exists or continues
User a user of the system
Yeast humid, yellowish froth produced by fermenting malt worts, and used to brew beer, leaven bread, and also used in certain medicines
highGlycemicRecipe a class of recipes that contains an ingredient with a glycemic index of 50 or more

Slots

Slot Description
dislikes something that a person habitually does not like or enjoy, a feeling of aversion or disapproval
forbids to hinder or prevent as if by an effectual command
has_conversion to exchange for an equivalent
has_cook_time the time that something needs to cook
has_cooking_temperature the temperature at which a food must be baked
has_flavor indicates that this item has this flavor
has_gluten a property of ingredients that show whether or not that ingerdient contains gluten
has_glycemic_index has a glycemic indexe value which measures carbs’ from the perspective of their pure sugar/starch content in order to determine how they affect glycemia (blood sugar levels) after meals
has_ingredient to have a component part of any combination or mixture
has_saved to store (data) in a computer or on a storage device
has_texture indicates that this item has this texture
is_allergic_to the subject has an allergy to the object of this relation
is_recommended_for_course a property of recipe that indicates what course the recipe is recommended for
is_recommended_for_meal a property of recipe that indicates what meal the recipe is recommended for
serves used to indicate how much food a recipe produces
substitutes_for indicates that this item can take the place or function of another

Types

Type Description
any_number A number of any type
boolean A binary (true or false) value
curie a compact URI
date a date (year, month and day) in an idealized calendar
date_or_datetime Either a date or a datetime
datetime The combination of a date and time
decimal A real number with arbitrary precision that conforms to the xsd:decimal specification
double A real number that conforms to the xsd:double specification
float A real number that conforms to the xsd:float specification
float16 A 16-bit floating point number
float32 A 32-bit floating point number
float64 A 64-bit floating point number
int16 A 16-bit signed integer
int32 A 32-bit signed integer
int64 A 64-bit signed integer
int8 An 8-bit signed integer
integer An integer
jsonpath A string encoding a JSON Path. The value of the string MUST conform to JSON Point syntax and SHOULD dereference to zero or more valid objects within the current instance document when encoded in tree form.
jsonpointer A string encoding a JSON Pointer. The value of the string MUST conform to JSON Point syntax and SHOULD dereference to a valid object within the current instance document when encoded in tree form.
langstring String with optional localization variants. Either a plain, non-langauge-tagged string or a multi-language mapping with at least one value. In JSON, plain strings should be mapped to JSON strings, and multi-language strings should be represented as a dictionary object of a language tag to a value in that language. In RDF, plain strings should be mapped to xsd:string, and multi-language strings to rdf:langString. In multivalued slots, each value is a separate langstring, so plain strings and multi-language mappings may be mixed in one list. When a generator needs the text in one language and it is missing, it uses the en text, or if there is none, the text of the alphabetically first language tag. A plain string is used as is, whatever language is requested.
ncname Prefix part of CURIE
nodeidentifier A URI, CURIE or BNODE that represents a node in a model.
objectidentifier A URI or CURIE that represents an object in the model.
signedinteger An integer that may be negative
sparqlpath A string encoding a SPARQL Property Path. The value of the string MUST conform to SPARQL syntax and SHOULD dereference to zero or more valid objects within the current instance document when encoded as RDF.
string A character string
time A time object represents a (local) time of day, independent of any particular day
uint16 A 16-bit unsigned integer
uint32 A 32-bit unsigned integer
uint64 A 64-bit unsigned integer
uint8 An 8-bit unsigned integer
unsignedinteger An integer that is non-negative
uri a complete IRI (URI)
uriorcurie an IRI (URI) or a CURIE