Changes

Jump to navigation Jump to search
386 bytes added ,  15:23, 19 August 2018
Line 39: Line 39:     
== Ontology building ==
 
== Ontology building ==
A description of the way the ontology is built.
+
This section describes how the ontology is put together.
=== Instances ===
+
 
 +
=== Individuals ===
 +
The basic input are the individuals. So far only the ingredients have been identified as necessary.
    
====Ingredients ====
 
====Ingredients ====
 
The creation of the ontology starts with instances. These are the ingredients as found on in the ingredient lists. An instance is defined as the the text between ingredient dividers. This includes any percentage, organic markup and allergen markup. In combination with the language used, it gives a first indication of the ingredient class. For the same class multiple instances are possible.
 
The creation of the ontology starts with instances. These are the ingredients as found on in the ingredient lists. An instance is defined as the the text between ingredient dividers. This includes any percentage, organic markup and allergen markup. In combination with the language used, it gives a first indication of the ingredient class. For the same class multiple instances are possible.
 +
 +
Any new ingredient individual must have a data property, which defines the data corresponding to the individual. The data property '''hasName valueString''' is used to infer the corresponding classes. It is assumed that the valueString has the format languageCode:string.
    
==== Classes ====
 
==== Classes ====
3,393

edits

Navigation menu