Week6 Ontology Develop Examples
Week6 Ontology Develop Examples
• Ontology Engineering
Domain: geography
Possible questions:
Distance between two cities?
What sort of connections exist between two cities?
In which country is a city?
How many borders are crossed?
country
border
road
railway
Connection_on_water
currency Connection_in_air
connection
Building Ontologies (C) Copyright 2022 by Prof. Abeer El-Korany 5
Step 3: Define Classes and Class Hierarchy
Geographic_entity End_point
Connection
Country Has_capital City Start_point
Borders_with Capital_of
Capital_city
Vocabulary note:
“Sibling” = “brother or sister”
Building Ontologies (C) Copyright 2022 by Prof. Abeer El-Korany 18
Ontology Development (cont.)
Define:Self_standing_entities(concepts)
• Self-standing things vs. Modifiers
• Things that can exist on there own nouns
– People, animals, houses, actions, processes, …
• Roughly nouns
• Modifiers-
• Things that modify (“inhere”) in other things
– (e.g., wild/domestic, male/female, healthy/sick,
dangerous/safe)
• Roughly adjectives and adverbs
• Living Thing
– Animal
• Mammal
– Cat
– Dog
– Cow
– Person
• Fish
– Carp
– Goldfish
– Plant
• Tree
• Grass
• Fruit