Changes

Jump to navigation Jump to search
186 bytes added ,  15:40, 19 August 2018
Line 54: Line 54:  
For each language a class is defined. The name of the class, ''English Language'' for instance, is in english and makes clear the what it is about. The annotation data for the language can be taken from lingvoj by hand. Each language has an equivalent to entry, which relates the  language with the corresponding languageCode. This entry has the format: ''hasName only xsd:string[pattern "languageCode:.*"]''. Each language is a sibling of the superclass language.
 
For each language a class is defined. The name of the class, ''English Language'' for instance, is in english and makes clear the what it is about. The annotation data for the language can be taken from lingvoj by hand. Each language has an equivalent to entry, which relates the  language with the corresponding languageCode. This entry has the format: ''hasName only xsd:string[pattern "languageCode:.*"]''. Each language is a sibling of the superclass language.
   −
Each node in the ontology is an ingredient, as is found on ingredient lists of food products. Producers take a lot of freedom in describing the ingredients they use. This implies that an approach is needed to standardise the ingredients that are found in the ingredients list.
+
==== Ingredient ====
 +
An ingredient individual corresponds to a class in the ontology. A class consists of:
 +
* a name - written as OFF_INGREDIENT. The name is in principle in english. (what to do if there does not exist an translation?)
 +
* annotations
 +
* equivalent class expression
 +
 
 +
Producers take a lot of freedom in describing the ingredients they use. This implies that an approach is needed to standardise the ingredients that are found in the ingredients list.
    
* '''Main ingredient name''' - an ingredient might appear under different names, the synonyms. Of these multiple names one will be chosen as main ingredient name. The main ingredient name will be defined in a single language.
 
* '''Main ingredient name''' - an ingredient might appear under different names, the synonyms. Of these multiple names one will be chosen as main ingredient name. The main ingredient name will be defined in a single language.
3,393

edits

Navigation menu