Food Recipe Ingredient Substitution Ontology Design Pattern¶
Source: ODP portal · Published by: semantic.cs.put.poznan.pl · Category: structural · Domain: food-science
This is the same pattern as food-recipe-ingredient-substitution-odp
The library lists it under both names. Importing both would import the same terms twice.
To model substitutes for ingredients in food recipes. Essential aspects of modelling substitutes are their quantity in a recipe, the constraints and the quali...
What it answers¶
- For the recipe covered by an ingredient substitution, how much of each listed ingredient does it call for, and in which unit?
- Under which dietary, cultural or technological restrictions does a given ingredient swap hold, and what is the swap meant to achieve?
- Which taste or dietary properties does a given food ingredient have, and which measured value and unit record each one?
The pattern¶
The graph is the axioms the pattern asserts; nothing here is inferred. Drag to rearrange, scroll to zoom, and use the graph's own search box to find a term inside it.
Opens at level of detail 3: classes, individuals, properties and restrictions, without the literals. Raise it with the LOD control in the graph's own toolbar to see annotation values and anything a reasoner adds.
Should you use this one?¶
| Size | 24 classes, 8 properties, 61 axioms |
| Brings in | 1 imported ontology, so adopting it adopts that too |
| Reasoning | HermiT finds this pattern consistent, with no unsatisfiable class, and its worked example consistent with the pattern. |
| Duplicate of | food-recipe-ingredient-substitution-odp - pick one of the two, not both |
Check it yourself: the published pattern · an archived copy · the ontology itself.
If a link does not open
ontologydesignpatterns.org, which publishes most of this library, does
not currently answer over HTTPS, and its wiki redirects submission pages
to its front page. The archived copy is there for exactly that reason.
The ontology files themselves are still served over plain HTTP.
Terms it declares¶
The 32 classes and properties this pattern models, as the recommender scores them. Annotation properties and built-ins are excluded, because an annotation property is not modelling.
http://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#action_specificationhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#conditionhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#cultural_conditionhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#data_itemhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#data_sethttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#dietary_conditionhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#dietary_qualityhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#food_itemhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#food_recipehttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#food_recipe_ingredient_substitution_(specification)http://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#has_componenthttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#has_memberhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#has_parthttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#has_qualityhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#has_quantityhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#has_unithttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#ingredient_set_(specification)http://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#ingredient_set_transformation_specificationhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#ingredient_specificationhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#instruction_set_(specification)http://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#instruction_set_transformation_specificationhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#is_abouthttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#is_quality_measure_ofhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#objectivehttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#objective_specificationhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#plan_specificationhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#propositionhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#qualityhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#step_specificationhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#tastiness_qualityhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#technological_conditionhttp://semantic.cs.put.poznan.pl/ontologies/food_ingredient_substitutes#technological_quality
An example of it in use¶
The pattern says what may be asserted; this says it. The graph below is a small set of individuals that instantiate the classes above and are connected by its properties, so the shape the pattern describes is visible as data rather than as a schema.
Import this pattern into your own ontology from inside Protégé: OntoBoard → Reuse → Pattern library…, which hands it to Import terms… and writes the term list, the module, the import and the catalog entry the way ODK expects. See Working with ODK.
Something wrong with this pattern, its example or this page? Report a problem with this pattern - the form opens with the pattern filled in, and a title and a sentence are all it needs.