Changes

Jump to navigation Jump to search
645 bytes added ,  19:08, 10 August 2018
Line 21: Line 21:     
== Relationships ==
 
== Relationships ==
The following relationship types can be used to described how
+
The relationships should define how the ingredients are related to each other. An ingredient can be created from an other ingredient by applying some transformation process. This transformation process could remove one of the sub-ingredients. Or the transformation process could change one sub-ingredient into another ingredient.
* '''contains''' - describes if an ingredient contains other ingredients. If possible the fraction/percentage/range can be added;
+
=== Formal relationships ===
* '''derived from''' - describes if an ingredient is derived from an other ingredient. In addition one could add a description of transformation process used;
+
* '''contain''' - describes if an ingredient contains another ingredient. The relationship could specify the fraction of the ingredient. For example [https://world.openfoodfacts.org/ingredient/Butter butter] contains 80% [https://world.openfoodfacts.org/ingredient/Butterfat butterfat], pastry butter contains 99.8% [https://world.openfoodfacts.org/ingredient/Butterfat butterfat];
 +
* '''removes''' - this transformation process removes a sub-ingredient. For example [https://world.openfoodfacts.org/ingredient/pastry-butter pastry butter] is created from [https://world.openfoodfacts.org/ingredient/Butter butter] by removing 20% water;
 
* '''isa''' - describes a detailed specification of an ingredient
 
* '''isa''' - describes a detailed specification of an ingredient
*'''created in''' - describes the location where the ingredient is created
+
*'''produced in''' - describes the location where the ingredient is created
    
== Example ==
 
== Example ==
3,393

edits

Navigation menu