Changes

Jump to navigation Jump to search
233 bytes added ,  19:15, 10 August 2018
Line 23: Line 23:  
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.
 
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.
 
=== Formal relationships ===
 
=== Formal relationships ===
* '''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];
+
* '''contains''' - 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;
 
* '''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
*'''produced in''' - describes the location where the ingredient is created
+
*'''is produced in''' - describes the location where the ingredient is created. This can be a geographic location ([https://world.openfoodfacts.org/ingredient/fr:beurre-d-isigny-aop beurre d'isigny aop]) or in a type of factory ([https://world.openfoodfacts.org/ingredient/fr:beurre-laitier beurre laitier])
    
== Example ==
 
== Example ==
3,393

edits

Navigation menu