Changes

Jump to navigation Jump to search
188 bytes added ,  13:24, 31 August 2018
Line 113: Line 113:     
It should be attempted to define a Named Ingredient with as few properties as possible, in order to reduce the complexity. The definition can be in the form of:
 
It should be attempted to define a Named Ingredient with as few properties as possible, in order to reduce the complexity. The definition can be in the form of:
* hasPercentage axioms - these axioms define the amount of a single component of an ingredient. If needed multiple hasPercentage axioms can be combined.
+
* '''hasPercentage axioms''' - these axioms define the amount of a single component of an ingredient. If needed multiple hasPercentage axioms can be combined.
 
  Class: Butter  
 
  Class: Butter  
 
     Facts: hasPercentageOfButterfat: 80
 
     Facts: hasPercentageOfButterfat: 80
 
The official definition for butter is that it must have at least 80% of butterfat, so this property is enough to define the butters. It might be necessary to add other type of axioms.
 
The official definition for butter is that it must have at least 80% of butterfat, so this property is enough to define the butters. It might be necessary to add other type of axioms.
 +
* '''contains axioms''' - to complete the ''hasPercentage axioms'', one should add a contains axiom with the same class, thus:
 +
Class: Butter
 +
  isSubClassOf: contains only Butterfat
    
==== Defined Ingredient Classes ====
 
==== Defined Ingredient Classes ====
3,393

edits

Navigation menu