adding semantics to ontologies

53
Introduction Knowledge Representation Semantic Web Reasoning Adding Semantics to Ontologies Cristiano Longo Dipartimento di Matematica e Informatica, Universit` a di Catania, Italy mailto://[email protected] SOD2014

Upload: cristiano-longo

Post on 15-Jul-2015

196 views

Category:

Science


1 download

TRANSCRIPT

Page 1: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Adding Semantics to Ontologies

Cristiano Longo

Dipartimento di Matematica e Informatica, Universita di Catania, Italymailto://[email protected]

SOD2014

Page 2: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

About

This talk is about the word Semantic in the “Semantic Web.”

It will provides some basic theoretical notions for a better understanding of SemanticWeb technologies (in particular OWL).

Page 3: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Topics

Some answers for the following questions will be provided:

How can we represent knowledge? (ontologies)

Which tools the Semantic Web framework offer to this end? (OWL)

How representing knowledge with these tools can be useful? (reasoning)

Page 4: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Topics

Some answers for the following questions will be provided:

How can we represent knowledge? (ontologies)

Which tools the Semantic Web framework offer to this end? (OWL)

How representing knowledge with these tools can be useful? (reasoning)

Page 5: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Topics

Some answers for the following questions will be provided:

How can we represent knowledge? (ontologies)

Which tools the Semantic Web framework offer to this end? (OWL)

How representing knowledge with these tools can be useful? (reasoning)

Page 6: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Notice

For the sake of readability and for historical reason, we will use notation andterminology from Descriptio Logics, which underpin Semantic Web languages (inparticular OWL).

Page 7: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Representing Knowledge in Logic and Computer Science

Page 8: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Ontologies

An ontology is a (partial) description of the world.

Usually, it is a finite set of statements such as, for example,

human beings are mortals,

Alice is the Bob’s mother,

Federico II was an emperor.

Page 9: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Basics

A knowledge domain is described in terms of

individuals, to indicate domain items (Alice, Bob, . . . ),

concepts (aka classes), which denote sets of domain objects (Person, Male, . . . ),and

roles (aka properties), which are relations on domain items (parentOf,partnerOf, . . . ).

Page 10: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Vocabulary and Assertions

Each ontology is divided into two parts:

the TBox(vocabulary), in which vocabulary terms for concepts (i.e. sets) and roles(i.e. relations) are defined, and

the ABox, which contains statements (namely, assertions) about real world items.

TBox Concepts: Male, Female,Human,Woman, Man.Roles: relativeOf, childOf, grandChildOf.

ABox Woman(Alice), Man(Bob), Alice relativeOfBob,Alice childOfCharlie.

Page 11: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Vocabulary and Assertions

Each ontology is divided into two parts:

the TBox(vocabulary), in which vocabulary terms for concepts (i.e. sets) and roles(i.e. relations) are defined, and

the ABox, which contains statements (namely, assertions) about real world items.

TBox Concepts: Male, Female,Human,Woman, Man.Roles: relativeOf, childOf, grandChildOf.

ABox Woman(Alice), Man(Bob), Alice relativeOfBob,Alice childOfCharlie.

Page 12: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Open World Assumption

Facts not explicitly mentioned in the ontology are not assumed to be false, their truthvalue is just unknown.

In general, no one has complete knowledge.

TBox Concepts: Male, Female,Human,Woman, Man.Roles: relativeOf, childOf, grandChildOf.

ABox Woman(Alice), Man(Bob), Alice relativeOfBob,Alice childOfCharlie.

What is the kinship relation between Alice and Bob? Charlie childOfAlice?

Is Charlie a man? Is Charlie a human being?

What about other persons in the world?

Page 13: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Open World Assumption

Facts not explicitly mentioned in the ontology are not assumed to be false, their truthvalue is just unknown.

In general, no one has complete knowledge.

TBox Concepts: Male, Female,Human,Woman, Man.Roles: relativeOf, childOf, grandChildOf.

ABox Woman(Alice), Man(Bob), Alice relativeOfBob,Alice childOfCharlie.

What is the kinship relation between Alice and Bob? Charlie childOfAlice?

Is Charlie a man? Is Charlie a human being?

What about other persons in the world?

Page 14: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Open World Assumption - Interpretations

All the possible worlds must be taken into account.An interpretation associates sets, relations, and items of a given domain (i.e.Universe) ∆ to concepts and roles in the vocabulary.For example:

∆ := {Alice,Bob,Charlie,Dana,Edwige} Alice childOfBobHuman := {Alice,Bob,Charlie,Dana} Charlie relativeOfBob

Female := {Alice,Dana,Edwige}Male := {Bob,Charlie}

Woman := {Alice,Dana}Man := {BobCharlie}

Page 15: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Open World Assumption - Interpretations

All the possible worlds must be taken into account.An interpretation associates sets, relations, and items of a given domain (i.e.Universe) ∆ to concepts and roles in the vocabulary.For example:

∆ := {Alice,Bob,Charlie,Dana,Edwige} Alice childOfBobHuman := {Alice,Bob,Charlie,Dana} Charlie relativeOfBob

Female := {Alice,Dana,Edwige}Male := {Bob,Charlie}

Woman := {Alice,Dana}Man := {BobCharlie}

Page 16: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Open World Assumption - Interpretations

All the possible worlds must be taken into account.An interpretation associates sets, relations, and items of a given domain (i.e.Universe) ∆ to concepts and roles in the vocabulary.For example:

∆ := {Alice,Bob,Charlie,Dana,Edwige} Alice childOfBobHuman := {Alice,Bob,Charlie,Dana} Charlie relativeOfBob

Female := {Alice,Dana,Edwige}Male := {Bob,Charlie}

Woman := {Alice,Dana}Man := {BobCharlie}

Page 17: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Open World Assumption - Models (1/2)

Roughly speaking, an interpretation is a model for an ontology if it does notcontradicts the ontology itself

For example:

∆ := {Alice,Bob,Charlie,Dana,Edwige} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Charlie relativeOfBob

Female := {Alice,Dana,Edwige}Male := {Bob,Charlie}

Woman := {Alice,Dana}Man := {BobCharlie}

is a model for

TBox Concepts: Male, Female,Human,Woman, Man.Roles: relativeOf, childOf, grandChildOf.

ABox Woman(Alice), Man(Bob), Alice relativeOfBob,Alice childOfCharlie.

Page 18: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Open World Assumption - Models (2/2)

Wherease the following is not.

∆ := {Alice,Bob,Charlie,Dana,Edwige} Alice relativeOfCharlieHuman := {Alice,Bob,Charlie,Dana} Charlie relativeOfBob

Female := {Alice,Dana,Edwige}Male := {Bob,Charlie}

Woman := {Alice,Dana}Man := {BobCharlie}

TBox Concepts: Male, Female,Human,Woman, Man.Roles: relativeOf, childOf, grandChildOf.

ABox Woman(Alice), Man(Bob), Alice relativeOfBob,Alice childOfCharlie.

Page 19: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Constraints

How to to associate meanings to vocabulary terms:

by means of constraints (placed in the TBox) expressed in a mathematical fashioninvolving concepts, roles, individuals.

Example

Human v Mortal all persons are mortal;

Woman ≡ Human u Female women are female human beings;

childOf ◦ childOf ⊆ grandChildOf the child of the child is the grandchild.

In general, the syntax of a Knowledge Representation Language is characterized by thetypes of constraints it allows, mainly in term of operators (eg. u, ◦, . . . ).

Page 20: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Constraints

How to to associate meanings to vocabulary terms:

by means of constraints (placed in the TBox) expressed in a mathematical fashioninvolving concepts, roles, individuals.

Example

Human v Mortal all persons are mortal;

Woman ≡ Human u Female women are female human beings;

childOf ◦ childOf ⊆ grandChildOf the child of the child is the grandchild.

In general, the syntax of a Knowledge Representation Language is characterized by thetypes of constraints it allows, mainly in term of operators (eg. u, ◦, . . . ).

Page 21: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Representing Knowledge the Semantic Web

Page 22: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Semantic Web Stack

Semantic Web technologies are stratified.

Figure: The Semantic Web stack

Page 23: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Representing Knowledge the Semantic Web

Semantic Web technologies are stratified.

Some of these are knowledge representation languages.

Figure: The Semantic Web stack

Page 24: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

OWL

OWL is the concise name of the Web Ontology Language, currently at version 2.

http://www.w3.org/TR/2012/REC-owl2-primer-20121211/

Three different profiles (fragments) have been defined for it (seehttp://www.w3.org/TR/2012/REC-owl2-profiles-20121211/):

OWL-RL quite good expressive power;

OWL-QL for large ABox;

OWL-EL very efficient, also in presence of large TBox.

Here we consider OWL-EL.

Page 25: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

OWL

OWL is the concise name of the Web Ontology Language, currently at version 2.

http://www.w3.org/TR/2012/REC-owl2-primer-20121211/

Three different profiles (fragments) have been defined for it (seehttp://www.w3.org/TR/2012/REC-owl2-profiles-20121211/):

OWL-RL quite good expressive power;

OWL-QL for large ABox;

OWL-EL very efficient, also in presence of large TBox.

Here we consider OWL-EL.

Page 26: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

OWL-EL and EL++

OWL-EL is underpinned by the description logic EL++. It has been devided in thebiohealth domain (SNOMED-CT).

Concept constructors of EL++ are:

> (every)thing;

⊥ nothing;

{a} nominal, the set with only member a;

∃R.C existential restriction, all those items related with some element in C ;

C u D conjunction, all the members of both C and D;

concrete domains (e.g. age > 18).

Such constructors can be used to form complex concepts, e.g.

∃childOf.{Fido} := {Edwige}, ∃childOf.(Male u Human).

Page 27: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

OWL-EL and EL++

OWL-EL is underpinned by the description logic EL++. It has been devided in thebiohealth domain (SNOMED-CT).

Concept constructors of EL++ are:

> (every)thing;

⊥ nothing;

{a} nominal, the set with only member a;

∃R.C existential restriction, all those items related with some element in C ;

C u D conjunction, all the members of both C and D;

concrete domains (e.g. age > 18).

Such constructors can be used to form complex concepts, e.g.

∃childOf.{Fido} := {Edwige}, ∃childOf.(Male u Human).

Page 28: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

OWL-EL and EL++

OWL-EL is underpinned by the description logic EL++. It has been devided in thebiohealth domain (SNOMED-CT).

Concept constructors of EL++ are:

> (every)thing;

⊥ nothing;

{a} nominal, the set with only member a;

∃R.C existential restriction, all those items related with some element in C ;

C u D conjunction, all the members of both C and D;

concrete domains (e.g. age > 18).

Such constructors can be used to form complex concepts, e.g.

∃childOf.{Fido} := {Edwige}, ∃childOf.(Male u Human).

Page 29: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ concepts - Thing

Let us consider the following possible world (interpretation)

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBob

Bob ownerOfFido.

Page 30: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ concepts - Thing

Let us consider the following possible world

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBob

Bob ownerOfFido.

> := {Alice,Bob,Charlie,Dana,Edwige,Fido}

Page 31: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ concepts - Nothing

Let us consider the following possible world

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBob

Bob ownerOfFido.

⊥ := ∅

Page 32: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ concepts - Nominal

Let us consider the following possible world

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBob

Bob ownerOfFido.

{Alice} := {Alice}

Page 33: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ concepts - existential restriction

Let us consider the following possible world

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBob

Bob ownerOfFido.

∃ownerOf.Male := {Bob}

Page 34: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ concepts - conjunction (intersection)

Let us consider the following possible world

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBob

Bob ownerOfFido.

Female u Human := {Alice,Dana}

Page 35: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ concepts - complex concepts

Let us consider the following possible world

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBob

Bob ownerOfFido.

∃childOf.{Fido} := {Edwige}

Page 36: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ constraints

Constraints allowed in EL++ TBox are of the types:

C v D every member of C is a member of D as well;

C ≡ D the sets C and D coincide;

R1 ◦ . . . ◦ Rn v S the composition of R1, . . . , Rn is a subrelation of S ;

dom(R) v C if x is related to y by R, then x must be a member of C ;

range(R) v C if x is related to y by R, then y must be a member of C .

Page 37: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ constraints - subsumption

The following is a model forMan v Human

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBobMan := {Bob,Charlie} Bob ownerOfFido.

Page 38: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ constraints - equivalence

The same is a model forMan ≡ Human u Male

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBobMan := {Bob,Charlie} Bob ownerOfFido.

Page 39: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ constraints - composition (1/2)

Let us consider

childOf ◦ relativeOf ⊆ relativeOf the child of a relative is a relative as well.

The following is not a model for this constraint (Alice should be relative of Charlie):

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBobMan := {Bob,Charlie} Bob ownerOfFido.

Page 40: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ constraints - composition (2/2)

A model for childOf ◦ relativeOf ⊆ relativeOf is:The following is not a model for this constraint (Alice should be relative of Bob):

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBobMan := {Bob,Charlie} Bob ownerOfFido

Alice relativeOfBob.

Page 41: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ constraints - domain

It is a model for

dom(ownerOf) v Human all owners are humans.

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBobMan := {Bob,Charlie} Bob ownerOfFido.

Page 42: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

EL++ constraints - range

But this is not a model for

range(ownerOf) v Human all owned are humans.

∆ := {Alice,Bob,Charlie,Dana,Edwige,Fido} Alice childOfCharlieHuman := {Alice,Bob,Charlie,Dana} Alice childOfDana

Female := {Alice,Dana,Edwige} Edwige childOfFidoMale := {Bob,Charlie,Fido} Charlie relativeOfBobMan := {Bob,Charlie} Bob ownerOfFido.

Page 43: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Using Knowledge encoded in EL++

Page 44: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning

Defining a formal semantics enables some reasoning task to be performedautomatically.Here we will see

consistency checking, to check the absence of logical errors,

inferencing, to extract hidden knowledge.

Page 45: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Consistency

An ontology is consistent if a possible world which matches it exists.

Let us consider the following ontology:

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBob

Bob ownerOfFido

It is consistent (see before for a model).

Page 46: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Consistency - example 2

The following one is not consistent.

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBobMale u Female ≡ ⊥ Bob ownerOfFido

Female(Bob)

Bob must be Male, as it is a Man, all men are Male and Male and Female are disjoint.

Page 47: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Consistency - example 3

The following one is not consistent.

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBobHuman u Edwige ≡ ⊥ Bob ownerOfFido

Edwige ownerOfFido

Edwige can’t be the owner of Fido because Edwige is not a member of Human.

Page 48: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Inference

Inferences retrieves all the assertions which hold in all the possible models.

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBob

Bob ownerOfFidoInferred Statements

Page 49: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Inference

Inferences retrieves all the assertions which hold in all the possible models.

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBob

Bob ownerOfFidoInferred StatementsFemale(Alice)Human(Alice)

Page 50: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Inference

Inferences retrieves all the assertions which hold in all the possible models.

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBob

Bob ownerOfFidoInferred StatementsFemale(Alice)Human(Alice)Male(Charlie)Human(Charlie)

Page 51: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Inference

Inferences retrieves all the assertions which hold in all the possible models.

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBob

Bob ownerOfFidoInferred StatementsFemale(Alice)Human(Alice)Male(Charlie)Human(Charlie)Alice relativeOfBob

Page 52: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Reasoning - Inference

Inferences retrieves all the assertions which hold in all the possible models.

TBox ABox

Woman ≡ Female u Human Woman(Alice)Man ≡ Male u Human Man(Charlie)childOf ◦ relativeOf ⊆ relativeOf Alice childOfCharliedom(ownerOf) v Human Charlie relativeOfBob

Bob ownerOfFidoInferred StatementsFemale(Alice)Human(Alice)Male(Charlie)Human(Charlie)Alice relativeOfBobHuman(Bob)

Page 53: Adding Semantics to Ontologies

Introduction Knowledge Representation Semantic Web Reasoning

Thank You!

(questions?)