Changes

Jump to navigation Jump to search
573 bytes added ,  10:57, 12 October 2018
Line 7: Line 7:  
* '''Ingredient language inconsistencies''' - it happens that ingredients in different languages of a single product are different. That can be ingredients that are left out or simplified. The thesaurus might help revealing these.
 
* '''Ingredient language inconsistencies''' - it happens that ingredients in different languages of a single product are different. That can be ingredients that are left out or simplified. The thesaurus might help revealing these.
   −
If the thesaurus is extended by relations between ingredients, other benefits arise, depending on what is defined in the taxonomy/ontology.  
+
If the thesaurus is extended by relations between ingredients, other benefits arise, depending on what is defined in the taxonomy.  
* '''Inclusive search''' - The basic relation is is the isa-relation. For instance ''strawberry puree'' and ''strawberry filling'' are still ''strawberry'', but under a different shape. So ''strawberry puree'' is a kind of ''strawberry'' (probably ''strawberry flavour'' is NOT a kind of ''strawberry''). In the same way we could search for all pureed ingredients, if the the relation between puree and strawberry puree was defined.
+
* '''Inclusive search''' - The basic relation is is the isa-relation. This means that an ingredient has a parent. The rule here is: would it make sense to replace the children by the parent in the ingredients list? For instance ''strawberry puree'' and ''strawberry filling'' are still ''strawberry'', but under a different shape. So if you replace ''strawberry puree'' with ''strawberry'' in the ingredient list, it is still a valid ingredient list. Probably ''strawberry flavour'' is NOT a kind of ''strawberry'', so the relation should not be set in the taxonomy. The inclusive search means that a search for the parent ''strawberry'' will also show the children ''strawberry puree'', etc.
    +
In the same way we could search for all pureed fruits, if the the relation between [https://world.openfoodfacts.org/ingredient/fruit-puree fruit puree] and [https://world.openfoodfacts.org/ingredient/strawberry-puree strawberry puree] was defined.
 +
 +
Other relations will extend the taxonomy to a thesaurus and would allow:
 
* '''Hidden ingredients''' - an ingredient might contain hidden ingredients, the ontology might reveal these. For example [https://world.openfoodfacts.org/ingredient/butter butter] contains [https://world.openfoodfacts.org/ingredient/butterfat butterfat].
 
* '''Hidden ingredients''' - an ingredient might contain hidden ingredients, the ontology might reveal these. For example [https://world.openfoodfacts.org/ingredient/butter butter] contains [https://world.openfoodfacts.org/ingredient/butterfat butterfat].
 
* '''Combined ingredients''' - an ingredient might appear as a single ingredient. In reality however
 
* '''Combined ingredients''' - an ingredient might appear as a single ingredient. In reality however
3,390

edits

Navigation menu