Part II : Using Protege
Open the protege software to start using it. Figure 1 shows the interface of protege.
Figure 1 : Protege interface
Part III : Protege tutorial
This protege tutorial are based on a series of video by Dr. Noureddin Sadawi.
A. Introduction to Ontology
1. Figure 2 shows an ontology of Person where its subclasses are Student and Lecturer.
Student studies Module
Lecturer teaches Module
Figure 2 : Person subclasses
Figure 3 : Module subclasses
2. Figure 3 shows other example of ontology where both CSModule and MathModule are subclasses of Module.
B. Creating Ontology Class
1. Click on classes tab to create class.
Figure 4 : Classes tab selected
2. Add a new class. We add a new class named Person.
Figure 5 : Person class added
3. Next, add another two classes named Student and Lecturer under Person class.
Figure 6 : Student class added
Figure 7 : Lecturer class added
4. Repeat the process of adding class with a new Module class. Then, add two new class under Module named CSModule and MathModule.
Figure 8 : Created Person and Module class with their subclasses
5. Click on any of the module and click Disjoint with at the description
Figure 9 : Disjoint with option
6. Click ctrl and click on MathModule, Lecturer, and Student to be Disjoint with.
Figure 10 :Disjoint of MathModule, Lecturer and Student
Reason for the Disjoint:
-To avoid overlapping between classes, ie subclass, or an instances or an individual can only be an instances of one class so we can avoid multiple inheritances.










No comments:
Post a Comment