

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Ontology assignment for a week
Typology: Lecture notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


By Nikhil Chandra Nirukonda [email protected] Correct Answer to whether there is any inconsistent class: Yes, there is an inconsistency. As both MeatTopping and VegetableTopping have the same subclass which leads to the inconsistency. Explanation of inconsistency: As both MeatTopping and VegetableTopping have the subclass MeatyVegetableTopping. As a result, MeatTopping and VegetableTopping are disjointed, resulting in inconsistency. Describe a way to resolve the inconsistency: We've been told to make all of the classes disjoint. As a result, the classes MeatTopping and VegetableTopping, which share the same subclass, are incompatible. We need to remove the disjointness between the two classes to fix this inconsistency. Add two more pizza and explanation: I’ve added two more pizzas namely ChillyChickenPizza and ChetnaduChickenPizza under the subclass NamedPizza which is a subclass of Pizza which is a subclass of pizzaDomainConcept. Add two more PizzaBase and explanation: I’ve added the two PizzaBases namely Thick and Thin under the subclass PizzaBase which is a subclass of pizzaDomainConcept. Add two more PizzaTopping and Explanation: I’ve added two more PizzaToppings namely ChillyChickenTopping and ChetnaduChickenTopping under the subclass MeatTopping which is a subclass of PizzaTopping which is a subclass of pizzaDomainConcept. Add atleast four more properties: I’ve added four more properties namely hasCountry, hasSize, hasTemp, and hasSauce. The four additional properties are part of the topObjectProperty's attributes. To determine the sort of pizza required, these four characteristics can be added to pizza classes.
The first query of your choice: hasCountry some (India or Italy) and hasSize some (Small or Medium) and hasBase some Thick or hasTemp some Cold Explanation of the first query: We are using this query to determine which pizzas have the properties of the Country being India or Italy and has Sizes of Small or Medium and has a Thick Base and has Cold Temperature. Screenshot for the first query: