Presentation is loading. Please wait.

Presentation is loading. Please wait.

ΗΥ-566 ΔΙΑΧΕΙΡΙΣΗ ΓΝΩΣΗΣ ΣΤΟ ΔΙΑΔΙΚΤΥΟ Ασκηση 2 Πεδρο, Κατη και Μπεριτ Ελενη.

Similar presentations


Presentation on theme: "ΗΥ-566 ΔΙΑΧΕΙΡΙΣΗ ΓΝΩΣΗΣ ΣΤΟ ΔΙΑΔΙΚΤΥΟ Ασκηση 2 Πεδρο, Κατη και Μπεριτ Ελενη."— Presentation transcript:

1 ΗΥ-566 ΔΙΑΧΕΙΡΙΣΗ ΓΝΩΣΗΣ ΣΤΟ ΔΙΑΔΙΚΤΥΟ Ασκηση 2 Πεδρο, Κατη και Μπεριτ Ελενη

2 The zoo ontology II New diagram for OWL. Differences with the old diagram and new classes. Some classes and properties.

3 New diagram for OWL.dia2.pdfdia2.pdf

4 Differences and new classes (1 of 4) We have extended the class Cage with three subclasses, so now we can restrict the relation livesIn (Animal-Cage) and hasIn (Cage-Animal). For example, a water animal needs a pool. We have also added disjoints between Member/Employee, and Vet/Administrator/Cleaner/AnimalWorker. We didn't make the Cage class to be disjoint because a Pool can be Open-Air or Covered, and an Open-Air Cage can have a Covered part. The Animal class isn't disjoint neither because, e.g. the penguin lives in water and in land.

5 Differences and new classes (2 of 4) We have added cardinalities to the previous diagram. For each relation between two classes we have made them both ways, except between Employee-Zoo and Animal-Animal. We did this because it's easy to find in which zoo an employee works, but it takes more time to go the opposite way (zoo -> employee). For the other relation (Animal-Animal) we think that it's enough with one way because the information would be the same in both directions.

6 Differences and new classes (3 of 4) New attributes: Cage trees: boolean rocks: boolean New classes: (sub classes of Cage) Pool poolDepth: float poolWidth: float poolLength: float saltPercentage: float type: lake/sea/artificial

7 Differences and new classes (4 of 4) Open Air (without roof) wallsHigh: float wallsLength: float wallsWidth: float Covered (with roof) roomLength: float roomWidth: float roomHigh: float

8 Some classes and properties (1 of 3) This is the class of zoo. The zoo has to have at least one animal, one emp and one dept. 1 1 1

9 Some classes and properties (2 of 3) This is the relationship that says that a zoo has animals

10 Some classes and properties (3 of 3) The class of all the the Tickets 1 Property with the type of a Ticket


Download ppt "ΗΥ-566 ΔΙΑΧΕΙΡΙΣΗ ΓΝΩΣΗΣ ΣΤΟ ΔΙΑΔΙΚΤΥΟ Ασκηση 2 Πεδρο, Κατη και Μπεριτ Ελενη."

Similar presentations


Ads by Google