Changes

Jump to navigation Jump to search
333 bytes added ,  14:20, 26 August 2018
Line 79: Line 79:  
The classes define the Ingredients, Languages and other concepts used in the ontology.
 
The classes define the Ingredients, Languages and other concepts used in the ontology.
   −
==== Languages ====
+
==== Ingredient Classes ====
For each language a separate class can be defined. The name of the class, ''English Language'' for instance, is in english and makes clear what the class is about. The annotation data for the language can be taken from [http://linkedvocabs.org/lingvoj/ Lingvoj] by hand. [http://linkedvocabs.org/lingvoj/ Lingvoj] has each language defined as a separate individual. We want to assign each ingredient individual to a specific language class.  Each language is a sibling of the superclass ''Language''.
  −
 
  −
Each language class has a data property, which is necessary and sufficient condition that determines its membership. This data property describes how the language is encoded in an ingredient individual. This encoding consists of the languageCode that corresponds to the language. with the corresponding. For example for an ingredient individual in english:
  −
<nowiki>DataPropertyAssertion(  :hasName :Butter xsd:string[pattern "en:.*"])</nowiki>
  −
This uses a regex-string for decoding,
  −
 
  −
==== Ingredient ====
   
The ingredient classes are the sets that represent the individuals. Each normalised individual will be mapped to a single class.  
 
The ingredient classes are the sets that represent the individuals. Each normalised individual will be mapped to a single class.  
   Line 120: Line 113:  
==== Super classes ====
 
==== Super classes ====
 
Are these needed? What should they mean?
 
Are these needed? What should they mean?
 +
 +
 +
==== Language Classes ====
 +
For each language a separate class can be defined. The name of the class, ''English Language'' for instance, is in english and makes clear what the class is about. The annotation data for the language can be taken from [http://linkedvocabs.org/lingvoj/ Lingvoj] by hand. [http://linkedvocabs.org/lingvoj/ Lingvoj] has each language defined as a separate individual. We want to assign each ingredient individual to a specific language class.  Each language is a sibling of the superclass ''Language''.
 +
 +
Each language class has a data property, which is necessary and sufficient condition that determines its membership. This data property describes how the language is encoded in an ingredient individual. This encoding consists of the languageCode that corresponds to the language. with the corresponding. For example for an ingredient individual in english:
 +
<nowiki>DataPropertyAssertion(  :hasName :Butter xsd:string[pattern "en:.*"])</nowiki>
 +
This uses a regex-string for decoding.
 +
 +
==== Origin classes =====
 +
 +
==== Label classes ====
 +
These classes describe labels that have been assigned to Ingredients.
 +
 +
==== Geography Classes ====
 +
These classes describe the geographic origin of classes. These can be added as necessity requires. A hierarchy based on continent and country or region can be added.
    
=== Object properties ===
 
=== Object properties ===
3,393

edits

Navigation menu