Ontology assignment for a week, Lecture notes of Computer Science

Ontology assignment for a week

Typology: Lecture notes

2021/2022

Uploaded on 03/14/2023

robert-hopper
robert-hopper 🇺🇸

5 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
KRR Programming Assignment 3
Building an OWL Ontology
By
Nikhil Chandra Nirukonda
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:
Ive 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:
Ive added the two PizzaBases namely Thick and Thin under the subclass PizzaBase which is
a subclass of pizzaDomainConcept.
Add two more PizzaTopping and Explanation:
Ive 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:
Ive 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.
pf3

Partial preview of the text

Download Ontology assignment for a week and more Lecture notes Computer Science in PDF only on Docsity!

KRR Programming Assignment 3

Building an OWL Ontology

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: