Line 117: |
Line 117: |
| Facts: hasPercentageOfButterfat: >= 80, <= 99 | | Facts: hasPercentageOfButterfat: >= 80, <= 99 |
| | | |
− | ==== Complex Ingredient Classes ==== | + | ==== Defined Ingredient Classes ==== |
− | It possible to group ingredient classes into other complex classes. It is possible to do this by combining atomic classes by hand into complex classes. For instance: | + | It possible to group ''Named Ingredient'' classes into other classes, in order to define a set of similar ingredients. It is possible to do this by combining ''Named Ingredient'' classes by hand. For instance: |
− | Class: Butterfats | + | Class: OFF-Butterfat |
| EquivalentTo: { Butterfat, Ghee, Concentrated Butter, Clarified Butter } | | EquivalentTo: { Butterfat, Ghee, Concentrated Butter, Clarified Butter } |
− | | + | This approach seems however to be a bit arbitrary. Why are these ingredients combined? What is there commonality? It would be nice to define a set of axioms that can combine these automatically. |
− | Unfortunately there does not exist any inherent logic to an Ingredient Class name, so another logic-based constructor must be identified.
| |
− | | |
− | Without any additional adjectives for Butter, other properties need to be assumed. These properties need to come from external sources: legislation, wikipedia, etc. For Butter we know the following:
| |
− | * it is sourced from milk from mammals;
| |
− | * it has been derived from milk by removing part of the water, either by churning or fermenting;
| |
− | * it has been treated in some way (legislation);
| |
− | * it must have more than 80% butterfat (legislation);
| |
− | * it contains also other components, such as water, lactose, minerals, etc (wikipedia);
| |
− | | |
− | How should these characteristics be encoded as property restrictions?
| |
| | | |
| ==== Language Classes ==== | | ==== Language Classes ==== |