39
of 39 lecture 2: ontology - basics

Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

Embed Size (px)

Citation preview

Page 1: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

lecture 2: ontology - basics

Page 2: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontology

a branch of metaphysics relating to the natureand relations of being

a particular theory about the nature of being or the kinds of existence

ece 627, winter'13 2

Page 3: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontology & historytree of Porphyry

Supreme: SUBSTANCEDifferentiae: material immaterialSubordinate: BODY SPIRITDifferentiae: animate inanimateSubordinate: LIVING MINERALDifferentiae: sensitive insensitiveSubordinate: ANIMAL PLANTDifferentiae: rational irrationalSubordinate: HUMAN BEAST

Individuals: Socrates Plato Aristotle etc.

ece 627, winter'13 3

Page 4: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologygeneric

ece 627, winter'13 4

Page 5: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydomain-based

the subject of ontology is the study of the categories of things that exist or may exist in some domain

ece 627, winter'13 5

Page 6: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydomain-based

the product of such a study, called an ontology, is a catalog of the types of things that are assumed to exist in a domain of interest from the perspective of a person who uses a specific language for the purpose of talking about the domain

ece 627, winter'13 6

Page 7: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydomain-based – definition 1

a formal, explicit specification of a shared conceptualization

[T.Gruber, 1993]

ece 627, winter'13 7

Page 8: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydomain-based

conceptualization refers to an abstract model of phenomena in the world by having identified the relevant concepts of those phenomena

explicit means that the type of concepts used, and the constraints on their use are explicitly defined

ece 627, winter'13 8

Page 9: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydomain-based

formal refers to the fact that the ontology should be machine readable

shared reflects that ontology should capture consensual knowledge accepted by the communities

ece 627, winter'13 9

Page 10: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydomain-based – definition 2 (W3C)

ontology is a term borrowed from philosophy that refers to the science of describing the kinds of entities in the world and know they are related

ece 627, winter'13 10

Page 11: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontology… description of …

classes (“things”) in the various domains of interest

relationships among those “things” properties (attributes) that “things” should

possess

ece 627, winter'13 11

Page 12: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyexample

ece 627, winter'13 12

Page 13: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyexample

ece 627, winter'13 13

Page 14: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs taxonomy

taxonomy the study of the general principles of scientific classification – systematicsclassification – especially – orderly classification of plans and animals according to their presumed natural relationships

ece 627, winter'13 14

Page 15: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs taxonomy

taxonomy classifies terms hierarchically, using (generalization, is-a, or type-of) relationship- no other relationships- no attributes/features describing terms

ece 627, winter'13 15

Page 16: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs taxonomy (example)

- Linnaean living being taxonomyKingdom: animalia Filo: chordata

Subfilo: vertebrata Class: mamalia

Subclass: theria Order: primata

Suborder: anthropoidea Family: hominidae Genera: homo

Species: sapiens

ece 627, winter'13 16

Page 17: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs taxonomy (example)

- directory structure in a personal computer

ece 627, winter'13 17

Page 18: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs thesauri

thesauri contains a set of relationships among concepts, organized in a taxonomic way

it is a taxonomy with a set of semantic (binary) relationships, such as, equivalence, inverse, and association

ece 627, winter'13 18

Page 19: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs thesauri

not sufficient to model other (part-of, member-group, cause-effect, …) aspects of real world

the most popular thesaurus - WordNet

ece 627, winter'13 19

Page 20: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs thesauri - WordNet

ece 627, winter'13 20

Page 21: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs thesauri - WordNet

ece 627, winter'13 21

Page 22: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyvs thesauri - WordNet

ece 627, winter'13 22

Page 23: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontology”unique” properties – 1

strict subconcept hierarchy organization of terms must follow the generalization relationship – is-a, type-of relationship

ece 627, winter'13 23

Page 24: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontology”unique” properties – 2

ambiguity-free interpretation of meanings and relationshipsusers may define properties (with values restricted to certain domains) and more expressive relationships (part-of, ……………)

ece 627, winter'13 24

Page 25: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontology”unique” properties – 3

the use of a controlled, finite, but extensible vocabulary

ece 627, winter'13 25

Page 26: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to semantic spectrum

based on the internal structure and contents of ontolgoies

depends on the complexity and sophistication of the elements

the spectrum ranges from informal catalogues of terms to sophisticated ontologies

ece 627, winter'13 26

Page 27: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to semantic spectrum

- controlled vocabularies (finite lists of terms)- glossaries (lists of terms whose meaning is

described in natural language)- Thesauri (lists of terms … and specific

relationships between the terms)

ece 627, winter'13 27

Page 28: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to semantic spectrum

- informal is-a hierarchies (hierarchies that use generalization relationships in an informal way – not rigorously)

- formal is-a hierarchies (hierarchies that fully respect the generalization relationships)

ece 627, winter'13 28

Page 29: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to semantic spectrum

- frames (models that include classes and properties; the primitives of the frame model are classes, or frames, that have properties called slots or attributes; slots may contain default values, refer to other frames, or contain different methods)

ece 627, winter'13 29

Page 30: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to semantic spectrum

- ontologies that express value restrictions (contain constructs for restricting the values the class properties can assume)

- ontologies that express logical restrictions (allow first-order logic restrictions to be expressed)

ece 627, winter'13 30

Page 31: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to ontology generality

- upper-level ontologies (describe generic concepts, such as space, time, events …)

- domain ontologies (describe vocabulary pertaining to a given domain, by specializing the concepts provided by the upper-level ontology)

ece 627, winter'13 31

Page 32: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to ontology generality

- task ontologies (describe vocabulary required to perform generic tasks or activities, by specializing the concepts provided by the upper-level ontology)

- applications ontologies (describe vocabulary of a specific application, whose concepts correspond to the roles performed by entities in a given domain while performing some task or activity)

ece 627, winter'13 32

Page 33: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to represented info

based on “orthogonal”, to previous slides, classification

- knowledge-representation ontologies (provide primitive modeling elements – classes, subclasses, value, …)

- generic and common use ontologies (represent common-sense knowledge that can be used in different domains; vocabulary that relates classes, events, space, causality, and behavior)

ece 627, winter'13 33

Page 34: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to represented info

- upper ontologies (describe general concepts, for example SUMO)

ece 627, winter'13 34

Page 35: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to represented info

- domain ontologies (offer concepts that can be reused in a specific domain – medical, law, …; sth between upper and domain ontologies)

- task ontologies (describe vocabulary related to a task or activity)

ece 627, winter'13 35

Page 36: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologyclassification according to represented info

- domain-task ontologies (are task ontologies that can be reused in one specific domain)

- method ontologies (provide definitions for concepts and relationships relevant to a process)

- application ontologies (contain all necessary concepts to model the application in question)

ece 627, winter'13 36

Page 37: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydescription languages

1967 – markup language (structure of documents with help of tags)

SGML – Standard Generalization Markup Language

1989 – HTML (HyperText Markup Language)XML (Extensible Markup Language)

ece 627, winter'13 37

Page 38: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydescription languages

RDF (Resource Markup Language) – representing information about resources in the web

RDF SchemaSHOE (Simple HTML Ontology Extension)Oil (Ontology Inference Layer)DAML (DARPA Agent Markup Language)

ece 627, winter'13 38

Page 39: Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the

of 39

ontologydescription languages

2001 – DMAL+OilFeb 10th, 2004 – OWL (Web Ontology

Language)

ece 627, winter'13 39