2. Our ontology
Meals: Initial ideas – just dump down the ideas
Hot or cold
Breakfast, lunch, dinner, supper
Fish, meat, vegetables, fruit
Fat, carbs, protein, vitamins
Diet type:
• Low carb
• High carb
• Power diet
• Vegan diet
Provider (should be another ontology)
• Care center
• Family
Provision (should be another ontology)
• Home care services
• Catering service
• Take away
MEAL Ontology modelling tutorial – summary
3. Mark classes in our ontology & map to base classes
Meal
Hot or cold: ManagedIndividual Class
Meal type: ?
• Breakfast, lunch, dinner, supper
Ingredients
• Fish, meat, vegetables, fruit
Fat, carbs, protein
Diet type: ?
• Low carb
• High carb
• Power diet
• Vegan diet
Meal Provider: ManagedIndividual
• (should be another ontology)
• Care center
• Family
Meal Provision Service: Service
• (should be another ontology)
• Serves on (tray)
• Home care services
• Catering service
• Take away
Meal tray: Device
MEAL Ontology modelling tutorial – summary
4. Properties and enumeration (literals) on our ontology
classes
Meals
Hot or cold
Meal Type (Enumeration)
• Breakfast, lunch, dinner, supper
Ingredients: Property
• Fish, meat, vegetables, fruit
Fat, carbs, protein: Type/amount
Diet type (Enumeration)
• Low carb
• High carb
• Power diet
• Vegan diet
Provider (should be another ontology)
• Care center
• Family
Provision (should be another ontology)
• Home care services
• Catering service
• Take away
MEAL Ontology modelling tutorial – summary
5. Associations between ontology classes
Meals
Hot or cold: Specialization of Meal
Meal Type: association from Meal
Diet type: association from Meal
Meal Tray: association from Meal
Provider
association to from meal
Association to provision
Provision
MEAL Ontology modelling tutorial – summary
6. UML modelling procedure
Add classes
Naming
Generalization associations
Add properties
Datatype
• If Integer, check if there is a range, e.g., 0..50
Object
Cardinality
Add associations
Object properties _can_ be association
Cardinality
Add enumeration
Enumeration literals
MEAL Ontology modelling tutorial – summary
7. The result
MEAL Ontology modelling tutorial – summary