Changes

Jump to navigation Jump to search
1,600 bytes removed ,  16:05, 30 August 2018
Line 128: Line 128:  
     Facts: hasPercentageOfButterfat: >= 99
 
     Facts: hasPercentageOfButterfat: >= 99
 
Note that the class name is OFF-Butterfat, this helps to distinguish it from the ''Name Ingredient'' Butterfat.
 
Note that the class name is OFF-Butterfat, this helps to distinguish it from the ''Name Ingredient'' Butterfat.
  −
==== 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:
  −
Class: Butter EquivalentTo: hasName: string[pattern "en:.*"]
  −
This uses a regex-string for decoding.
  −
  −
==== Origin classes ====
  −
These classes define the original source of an ingredient, before any processing is done. For instance milk comes from female mammals, cow milk comes from female cows, salt comes from the mineral halite, etc.
  −
  −
The food thesaurus created by [http://www.langual.org LanguaL] can be used as a base
  −
  −
==== 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