Changes

Jump to navigation Jump to search
114 bytes removed ,  15:25, 26 August 2018
Line 135: Line 135:     
=== Object properties ===
 
=== Object properties ===
The object properties define how the ingredients are related to each other. An ingredient can be created from an other ingredient by applying some transformation process. This transformation process could remove one of the sub-ingredients. Or the transformation process could change one sub-ingredient into another ingredient.
+
The object properties define how the ingredients are related to each other. These object properties are defined independent of the classes (that is a base idea in OWL).  
   −
==== Formal relationships ====
+
==== Axioms ====
* '''contains''' - describes if an ingredient contains another ingredient. The relationship could specify the fraction of the ingredient. For example [https://world.openfoodfacts.org/ingredient/Butter butter] contains 80% [https://world.openfoodfacts.org/ingredient/Butterfat butterfat], pastry butter contains 99.8% [https://world.openfoodfacts.org/ingredient/Butterfat butterfat];
+
Each object property is an axiom that can be applied to classes.  
* '''removes''' - this transformation process removes a sub-ingredient. For example [https://world.openfoodfacts.org/ingredient/pastry-butter pastry butter] is created from [https://world.openfoodfacts.org/ingredient/Butter butter] by removing 20% water;
+
 
* '''is melted''' - process whereby the ingredient is made fluid ([https://world.openfoodfacts.org/ingredient/melted-butter melted butter])
+
In addition one could one or more axioms that define the ingredient in relation to other ingredients. For instance:
* '''isa''' - describes a detailed specification of an ingredient
+
* Component axioms - these axioms define the components of an ingredient. These component ingredients are probably mostly base ingredients that can nog longer be broken down. The axioms also have an inverse axiom.
*'''is produced in''' - describes the location where the ingredient is created. This can be a geographic location ([https://world.openfoodfacts.org/ingredient/fr:beurre-d-isigny-aop beurre d'isigny aop]) or in a type of factory ([https://world.openfoodfacts.org/ingredient/fr:beurre-laitier beurre laitier])
+
ObjectPropertyAssertion( :contains :Butter :Butterfat )
 +
* Derivation axioms - these axioms define how one ingredient has been transformed into another ingredient. Not sure if these (or all of these) have an inverse axiom.
 +
ObjectPropertyAssertion( :isDerivedFrom :Butter :Cream )
 +
* Proportion axioms - these axioms define how much of an component ingredient is present.
 +
DataPropertyAssertion( :hasPercentageOfButterfat :Butter xsd:double[>= "80"^^xsd:double, <= "99"^^xsd:double] )
 +
* Origin axioms - axioms that define where an ingredient is manufactured.
 +
ObjectPropertyAssertion( :isManufacturedIn :Butter :Isigny )
 +
* Label axioms - these axioms define if the ingredient has a label, such as AOP, Organic, etc.
 +
ObjectPropertyAssertion( :isLabel :Butter :AOP )
 +
 
 +
==== Domain / Range ====
 +
 
 +
==== Hierarchy =====
    
=== Issues ===
 
=== Issues ===
3,393

edits

Navigation menu