Formal rmal Foundations oundations of of Ontologies Ontologies - - PowerPoint PPT Presentation

formal rmal foundations oundations of of ontologies
SMART_READER_LITE
LIVE PREVIEW

Formal rmal Foundations oundations of of Ontologies Ontologies - - PowerPoint PPT Presentation

Formal Ontologies Introduction to DLs Formal rmal Foundations oundations of of Ontologies Ontologies and and Reasoning Reasoning Ivan Ivan Varzinczak rzinczak Universit dArtois & CNRS, France http://www.ijv.ovh Ivan


slide-1
SLIDE 1 Formal Ontologies Introduction to DLs

Formal rmal Foundations

  • undations of
  • f Ontologies

Ontologies and and Reasoning Reasoning Ivan Ivan Varzinczak rzinczak

Université d’Artois & CNRS, France http://www.ijv.ovh

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 1
slide-2
SLIDE 2 Formal Ontologies Introduction to DLs

Why are we here?

➡ ➡ ➡

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 2
slide-3
SLIDE 3 Formal Ontologies Introduction to DLs

Why are we here?

➡ ➡ ➡ ➡ ➡

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 2
slide-4
SLIDE 4 Formal Ontologies Introduction to DLs

Overview of the course

Main parts

  • 1. Introduction to ontologies and description logics
  • 2. The description logic ALC
  • 3. Introduction to modelling and reasoning with ALC
  • 4. Reasoning with ontologies
  • 5. More and less expressive DLs
  • 6. Formal ontologies in OWL and Protégé
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 3
slide-5
SLIDE 5 Formal Ontologies Introduction to DLs

Overview of the course

Main parts

  • 1. Introduction to ontologies and description logics
  • 2. The description logic ALC
  • 3. Introduction to modelling and reasoning with ALC
  • 4. Reasoning with ontologies
  • 5. More and less expressive DLs
  • 6. Formal ontologies in OWL and Protégé

There will be

  • Examples
  • Exercises
  • A lot of interaction (I hope)
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 3
slide-6
SLIDE 6 Formal Ontologies Introduction to DLs

Overview of the course

Bibliography

  • F. Baader, D. Calvanese, D. McGuinness, D. Nardi, and P. Patel-Schneider

(eds.): The Description Logic Handbook: Theory, Implementation and

  • Applications. Cambridge University Press, 2nd edition, 2007.
  • F. Baader, I. Horrocks, C. Lutz, and U. Sattler. An Introduction to Description
  • Logic. Cambridge University Press, 2017.
  • M. Krötzsch, F. Simančík, and I. Horrocks. Description Logic Primer.

http://arxiv.org/pdf/1201.4089v3.pdf

  • The Protégé Ontology Editor. http://protege.stanford.edu
  • The Description Logic workshop series. http://dl.kr.org
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 4
slide-7
SLIDE 7 Formal Ontologies Introduction to DLs

Overview of the course

Bibliography

  • F. Baader, D. Calvanese, D. McGuinness, D. Nardi, and P. Patel-Schneider

(eds.): The Description Logic Handbook: Theory, Implementation and

  • Applications. Cambridge University Press, 2nd edition, 2007.
  • F. Baader, I. Horrocks, C. Lutz, and U. Sattler. An Introduction to Description
  • Logic. Cambridge University Press, 2017.
  • M. Krötzsch, F. Simančík, and I. Horrocks. Description Logic Primer.

http://arxiv.org/pdf/1201.4089v3.pdf

  • The Protégé Ontology Editor. http://protege.stanford.edu
  • The Description Logic workshop series. http://dl.kr.org

Course website

  • https://tinyurl.com/Graz2019DL
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 4
slide-8
SLIDE 8 Formal Ontologies Introduction to DLs

Outline of Part 1

Formal Ontologies Introduction to DLs

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 5
slide-9
SLIDE 9 Formal Ontologies Introduction to DLs

Outline of Part 1

Formal Ontologies Introduction to DLs

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 6
slide-10
SLIDE 10 Formal Ontologies Introduction to DLs

Ontologies

Explicit specification of a shared conceptualisation

Example (The student ontology)

  • Employed students are students and employees
  • Students are not taxpayers (do not pay taxes)
  • Employed students are taxpayers (pay taxes)
  • Employed students who are parents are not taxpayers (do not pay taxes)
  • To work for is to be employed by
  • John is an employed student,

John works for IBM

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 7
slide-11
SLIDE 11 Formal Ontologies Introduction to DLs

Ontologies

Explicit specification of a shared conceptualisation

Example (The student ontology)

  • Employed students are students and employees
  • Students are not taxpayers (do not pay taxes)
  • Employed students are taxpayers (pay taxes)
  • Employed students who are parents are not taxpayers (do not pay taxes)
  • To work for is to be employed by
  • John is an employed student,

John works for IBM

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 7
slide-12
SLIDE 12 Formal Ontologies Introduction to DLs

Ontologies

Explicit specification of a shared conceptualisation

Example (The student ontology)

  • Employed students are students and employees
  • Students are not taxpayers (do not pay taxes)
  • Employed students are taxpayers (pay taxes)
  • Employed students who are parents are not taxpayers (do not pay taxes)
  • To work for is to be employed by
  • John is an employed student,

John works for IBM classes relations individuals

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 7
slide-13
SLIDE 13 Formal Ontologies Introduction to DLs

Ontologies

Explicit specification of a shared conceptualisation

Example (The student ontology)

  • Employed students are students and employees
  • Students are not taxpayers (do not pay taxes)
  • Employed students are taxpayers (pay taxes)
  • Employed students who are parents are not taxpayers (do not pay taxes)
  • To work for is to be employed by
  • John is an employed student,

John and IBM are in works for classes relations individuals specialisation and instantiation

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 7
slide-14
SLIDE 14 Formal Ontologies Introduction to DLs

Main ingredients in formal ontologies

A common vocabulary and a shared understanding

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 8
slide-15
SLIDE 15 Formal Ontologies Introduction to DLs

Main ingredients in formal ontologies

A common vocabulary and a shared understanding

Classes or concepts

  • Describe concrete or abstract entities within the domain of interest
  • E.g.: Employed student,

Parent

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 8
slide-16
SLIDE 16 Formal Ontologies Introduction to DLs

Main ingredients in formal ontologies

A common vocabulary and a shared understanding

Classes or concepts

  • Describe concrete or abstract entities within the domain of interest
  • E.g.: Employed student,

Parent

Relations or roles

  • Describe relationships between concepts or attributes of a concept
  • E.g.: work for someone,

being employed by someone

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 8
slide-17
SLIDE 17 Formal Ontologies Introduction to DLs

Main ingredients in formal ontologies

A common vocabulary and a shared understanding

Classes or concepts

  • Describe concrete or abstract entities within the domain of interest
  • E.g.: Employed student,

Parent

Relations or roles

  • Describe relationships between concepts or attributes of a concept
  • E.g.: work for someone,

being employed by someone

Instances of classes and relations

  • Name objects of the domain and denote representatives of a concept
  • E.g.: John,

John is an employed student, John works for IBM

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 8
slide-18
SLIDE 18 Formal Ontologies Introduction to DLs

Why Description Logics?

Expressivity

  • Concepts
  • Relations
  • Instances

DLs have all one needs to formalise ontologies!

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 9
slide-19
SLIDE 19 Formal Ontologies Introduction to DLs

Why Description Logics?

Expressivity

  • Concepts
  • Relations
  • Instances

DLs have all one needs to formalise ontologies!

Computational properties

  • Amenability to implementation
  • Decidability
  • Good trade-off between expressivity and complexity

Most DL-based systems satisfy all of these!

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 9
slide-20
SLIDE 20 Formal Ontologies Introduction to DLs

Why Description Logics?

Expressivity

  • Concepts
  • Relations
  • Instances

DLs have all one needs to formalise ontologies!

Available tools Computational properties

  • Amenability to implementation
  • Decidability
  • Good trade-off between expressivity and complexity

Most DL-based systems satisfy all of these! FaCT++ Pellet HermiT CEL · · ·

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 9
slide-21
SLIDE 21 Formal Ontologies Introduction to DLs

Outline of Part 1

Formal Ontologies Introduction to DLs

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 10
slide-22
SLIDE 22 Formal Ontologies Introduction to DLs

First of all, what are DLs?

Decidability

  • Some logics can be made decidable by sacrificing expressive power
  • DLs are less expressive than full first-order logic
  • DLs are decidable, but what complexity is “OK”?
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 11
slide-23
SLIDE 23 Formal Ontologies Introduction to DLs

First of all, what are DLs?

Decidability

  • Some logics can be made decidable by sacrificing expressive power
  • DLs are less expressive than full first-order logic
  • DLs are decidable, but what complexity is “OK”?

Technically

  • DLs are a family of fragments of first-order logic
  • Only two variable names
  • For the cognoscenti: correspond to guarded fragments of FOL
  • But much, much simpler than FOL. . .
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 11
slide-24
SLIDE 24 Formal Ontologies Introduction to DLs

Elements of the language (domain dependent)

Atomic concept names

  • C =def {A1, . . . , An}

(Special concepts: ⊤, ⊥)

  • Intuition: basic classes of a domain of interest
  • Student, Employee, Parent
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 12
slide-25
SLIDE 25 Formal Ontologies Introduction to DLs

Elements of the language (domain dependent)

Atomic concept names

  • C =def {A1, . . . , An}

(Special concepts: ⊤, ⊥)

  • Intuition: basic classes of a domain of interest
  • Student, Employee, Parent

Atomic role names

  • R =def {r1, . . . , rm}
  • Intuition: basic relations between concepts
  • worksFor, empBy
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 12
slide-26
SLIDE 26 Formal Ontologies Introduction to DLs

Elements of the language (domain dependent)

Atomic concept names

  • C =def {A1, . . . , An}

(Special concepts: ⊤, ⊥)

  • Intuition: basic classes of a domain of interest
  • Student, Employee, Parent

Atomic role names

  • R =def {r1, . . . , rm}
  • Intuition: basic relations between concepts
  • worksFor, empBy

Individual names

  • I =def {a1, . . . , al}
  • Intuition: names of objects in the domain
  • john, mary, ibm
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 12
slide-27
SLIDE 27 Formal Ontologies Introduction to DLs

Elements of the language (domain independent)

Boolean constructors

  • Concept negation:

¬

(class complement)

  • Concept conjunction:

(class intersection)

  • Concept disjunction:

(class union)

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 13
slide-28
SLIDE 28 Formal Ontologies Introduction to DLs

Elements of the language (domain independent)

Boolean constructors

  • Concept negation:

¬

(class complement)

  • Concept conjunction:

(class intersection)

  • Concept disjunction:

(class union)

Role restrictions

  • Existential restriction: ∃

(at least one relationship)

  • Value restriction:

(all relationships)

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 13
slide-29
SLIDE 29 Formal Ontologies Introduction to DLs

Elements of the language (domain independent)

Boolean constructors

  • Concept negation:

¬

(class complement)

  • Concept conjunction:

(class intersection)

  • Concept disjunction:

(class union)

Role restrictions

  • Existential restriction: ∃

(at least one relationship)

  • Value restriction:

(all relationships)

Further constructors: cardinality constraints, inverse roles, . . . (if needed)

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 13
slide-30
SLIDE 30 Formal Ontologies Introduction to DLs

Building concepts

Definition (Complex concepts)

  • ⊤ and ⊥ are concepts
  • Every concept name A ∈ C is a concept
  • If C and D are concepts and r ∈ R, then

¬C (complement of C) C ⊓ D (intersection of C and D) C ⊔ D (union of C and D) ∃r.C (existential restriction) ∀r.C (value restriction) are all concepts

  • Nothing else is a concept (at least for now)
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 14
slide-31
SLIDE 31 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D
  • C ⊔ ¬¬∃D
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-32
SLIDE 32 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D
  • C ⊔ ¬¬∃D
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-33
SLIDE 33 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D ×
  • C ⊔ ¬¬∃D
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-34
SLIDE 34 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D ×
  • C ⊔ ¬¬∃D ×
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-35
SLIDE 35 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D ×
  • C ⊔ ¬¬∃D ×
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-36
SLIDE 36 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D ×
  • C ⊔ ¬¬∃D ×
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-37
SLIDE 37 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D ×
  • C ⊔ ¬¬∃D ×
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-38
SLIDE 38 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D ×
  • C ⊔ ¬¬∃D ×
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-39
SLIDE 39 Formal Ontologies Introduction to DLs

Exercise

Which ones are concepts and which aren’t?

  • ⊤ ⊓ ⊥ ⊔ ⊤
  • C ⊔ ∀r. ⊓ ¬D ×
  • C ⊔ ¬¬∃D ×
  • ∃r.⊤
  • ∃r.∀s.C ⊓ D
  • ∀r.C ⊓ ¬D
  • ∀r.(C ⊓ ¬D)
  • ∀∃r.C×
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 15
slide-40
SLIDE 40 Formal Ontologies Introduction to DLs

Building concepts

Full negation

  • Negation of arbitrary concepts
  • Intuition: the complement of a concept
  • E.g.: ¬¬Student

¬(Student ⊓ Parent)

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 16
slide-41
SLIDE 41 Formal Ontologies Introduction to DLs

Building concepts

Full negation

  • Negation of arbitrary concepts
  • Intuition: the complement of a concept
  • E.g.: ¬¬Student

¬(Student ⊓ Parent)

Atomic negation

  • Some DLs only allow negation of concept names
  • Good complexity results
  • E.g.: ¬Student

¬Parent

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 16
slide-42
SLIDE 42 Formal Ontologies Introduction to DLs

Building concepts

Concept conjunction

  • Intuition: the intersection of two concepts
  • E.g.: Student ⊓ Parent
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 17
slide-43
SLIDE 43 Formal Ontologies Introduction to DLs

Building concepts

Concept conjunction

  • Intuition: the intersection of two concepts
  • E.g.: Student ⊓ Parent

Concept disjunction

  • Intuition: the union of two concepts
  • E.g.: Employee ⊔ Student
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 17
slide-44
SLIDE 44 Formal Ontologies Introduction to DLs

Building concepts

Concept conjunction

  • Intuition: the intersection of two concepts
  • E.g.: Student ⊓ Parent

Concept disjunction

  • Intuition: the union of two concepts
  • E.g.: Employee ⊔ Student

So far we have seen the Boolean fragment of our concept language

  • At least as expressive as classical propositional logic
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 17
slide-45
SLIDE 45 Formal Ontologies Introduction to DLs

Building concepts

Existential restriction

  • Intuition: there is some link with a concept
  • E.g.: ∃pays.Tax
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 18
slide-46
SLIDE 46 Formal Ontologies Introduction to DLs

Building concepts

Existential restriction

  • Intuition: there is some link with a concept
  • E.g.: ∃pays.Tax

Value restriction

  • Intuition: all links with a concept
  • E.g.: ∀empBy.Company
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 18
slide-47
SLIDE 47 Formal Ontologies Introduction to DLs

Building concepts

Existential restriction

  • Intuition: there is some link with a concept
  • E.g.: ∃pays.Tax

Value restriction

  • Intuition: all links with a concept
  • E.g.: ∀empBy.Company

So far we have got ALC (Attributive Language with Complement)

  • Prototypical concept description language (there are others)
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 18
slide-48
SLIDE 48 Formal Ontologies Introduction to DLs

Language

Different flavours

  • ALC: C ::= ⊤ | ⊥ | C | ¬C | C ⊓ C | C ⊔ C | ∀r.C | ∃r.C
  • ALCQ: C ::= . . . | ≥ nr.C | ≤ nr.C
  • EL, DL-Lite, SHIQ, SHOQ, SROIQ (basis of OWL 2), . . .
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 19
slide-49
SLIDE 49 Formal Ontologies Introduction to DLs

Language

Different flavours

  • ALC: C ::= ⊤ | ⊥ | C | ¬C | C ⊓ C | C ⊔ C | ∀r.C | ∃r.C
  • ALCQ: C ::= . . . | ≥ nr.C | ≤ nr.C
  • EL, DL-Lite, SHIQ, SHOQ, SROIQ (basis of OWL 2), . . .
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 19
slide-50
SLIDE 50 Formal Ontologies Introduction to DLs

Language

Different flavours

  • ALC: C ::= ⊤ | ⊥ | C | ¬C | C ⊓ C | C ⊔ C | ∀r.C | ∃r.C
  • ALCQ: C ::= . . . | ≥ nr.C | ≤ nr.C
  • EL, DL-Lite, SHIQ, SHOQ, SROIQ (basis of OWL 2), . . .

Example

¬(Student ⊓ Parent) ∃empBy.Company Employee ⊔ Student ⊓ ∃worksFor.Parent Student ⊓ ¬∃pays.Tax EmpStud ⊓ ∃pays.Tax ∀worksFor.Company

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 19
slide-51
SLIDE 51 Formal Ontologies Introduction to DLs

Language

Different flavours

  • ALC: C ::= ⊤ | ⊥ | C | ¬C | C ⊓ C | C ⊔ C | ∀r.C | ∃r.C
  • ALCQ: C ::= . . . | ≥ nr.C | ≤ nr.C
  • EL, DL-Lite, SHIQ, SHOQ, SROIQ (basis of OWL 2), . . .

Example

¬(Student ⊓ Parent) ∃empBy.Company Employee ⊔ Student ⊓ ∃worksFor.Parent Student ⊓ ¬∃pays.Tax EmpStud ⊓ ∃pays.Tax ∀worksFor.Company With LALC we denote the concept language of ALC

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 19
slide-52
SLIDE 52 Formal Ontologies Introduction to DLs

Semantics

Definition (Interpretation)

Tuple I =def ∆I, ·I, where

  • ∆I is a domain (set of objects)
  • ·I is an interpretation function such that

AI ⊆ ∆I rI ⊆ ∆I × ∆I aI ∈ ∆I

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 20
slide-53
SLIDE 53 Formal Ontologies Introduction to DLs

Semantics

Definition (Interpretation)

Tuple I =def ∆I, ·I, where

  • ∆I is a domain (set of objects)
  • ·I is an interpretation function such that

AI ⊆ ∆I rI ⊆ ∆I × ∆I aI ∈ ∆I

Example

Let C = {A1, A2, A3}, R = {r1, r2}, I = {a1, a2, a3}. Let I = ∆I, ·I where:

  • ∆I = {xi | 1 ≤ i ≤ 9},

aI

1 = x5, aI 2 = x1, aI 3 = x2
  • AI
1 = {x1, x4, x6, x7},

AI

2 = {x3, x5, x9},

AI

3 = {x6, x7, x8}
  • rI
1 = {(x1, x6), (x4, x8), (x2, x5)},

rI

2 = {(x4, x4), (x6, x4), (x5, x8), (x9, x3)} Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 20
slide-54
SLIDE 54 Formal Ontologies Introduction to DLs

Semantics

I : ∆I AI

1

AI

2

AI

3

x1(a2) x2(a3) x3 x4 x5(a1) x6 x7 x8 x9 r1 r2 r1 r2 r1 r2 r2

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 21
slide-55
SLIDE 55 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-56
SLIDE 56 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-57
SLIDE 57 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-58
SLIDE 58 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-59
SLIDE 59 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-60
SLIDE 60 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-61
SLIDE 61 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-62
SLIDE 62 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-63
SLIDE 63 Formal Ontologies Introduction to DLs

Semantics

Extending DL interpretations

⊤I =def ∆I ⊥I =def ∅ (¬C)I =def ∆I \ CI (C ⊓ D)I =def CI ∩ DI (C ⊔ D)I =def CI ∪ DI (∃r.C)I =def {x ∈ ∆I | rI(x) ∩ CI = ∅} (∀r.C)I =def {x ∈ ∆I | rI(x) ⊆ CI}

Definition (Concept Satisfiability)

A concept C is satisfiable if there is I = ∆I, ·I s.t. CI = ∅

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 22
slide-64
SLIDE 64 Formal Ontologies Introduction to DLs

Semantics

Individual names

  • At most one element of ∆I

∆I aI

  • Ivan Varzinczak
Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 23
slide-65
SLIDE 65 Formal Ontologies Introduction to DLs

Semantics

Individual names

  • At most one element of ∆I

∆I aI

  • Unique Name Assumption
  • At most one name per object

∆I aI bI

×

  • Ivan Varzinczak
Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 23
slide-66
SLIDE 66 Formal Ontologies Introduction to DLs

Semantics

The ‘top’ concept

  • Everything is in ⊤I
  • Also called Thing

∆I ⊤I

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 24
slide-67
SLIDE 67 Formal Ontologies Introduction to DLs

Semantics

The ‘top’ concept

  • Everything is in ⊤I
  • Also called Thing

∆I ⊤I

The ‘bottom’ concept

  • ⊥I is in everything
  • Also called Nothing

∆I ⊥I = ∅

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 24
slide-68
SLIDE 68 Formal Ontologies Introduction to DLs

Semantics

Arbitrary concept

  • A class in the domain
  • CI ⊆ ∆I

∆I CI

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 25
slide-69
SLIDE 69 Formal Ontologies Introduction to DLs

Semantics

Arbitrary concept

  • A class in the domain
  • CI ⊆ ∆I

∆I CI

Concept negation

  • The complement of a concept
  • (¬C)I = ∆I \ CI

∆I CI

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 25
slide-70
SLIDE 70 Formal Ontologies Introduction to DLs

Semantics

Concept conjunction

  • The intersection of two classes
  • (C ⊓ D)I = CI ∩ DI

∆I CI DI

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 26
slide-71
SLIDE 71 Formal Ontologies Introduction to DLs

Semantics

Concept conjunction

  • The intersection of two classes
  • (C ⊓ D)I = CI ∩ DI

∆I CI DI

Concept disjunction

  • The union of two classes
  • (C ⊔ D)I = CI ∪ DI

∆I CI DI

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 26
slide-72
SLIDE 72 Formal Ontologies Introduction to DLs

Semantics

Existential restriction

  • At least one value of a class
  • (∃r.C)I = {x | rI(x) ∩ CI = ∅}

∆I (∃r.C)I CI rI

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 27
slide-73
SLIDE 73 Formal Ontologies Introduction to DLs

Semantics

Existential restriction

  • At least one value of a class
  • (∃r.C)I = {x | rI(x) ∩ CI = ∅}

∆I (∃r.C)I CI rI

Value restriction

  • All values of a class
  • (∀r.C)I = {x | rI(x) ⊆ CI}

∆I (∀r.C)I CI rI

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 27
slide-74
SLIDE 74 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-75
SLIDE 75 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I x0 x1 x2(mary) x3 x4 x5 x6 x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-76
SLIDE 76 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I x0 x1 x2(mary) x3 x4 x5(john) x6 x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-77
SLIDE 77 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-78
SLIDE 78 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I StudentI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-79
SLIDE 79 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI StudentI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-80
SLIDE 80 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI StudentI CompanyI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-81
SLIDE 81 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI ParentI StudentI CompanyI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-82
SLIDE 82 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-83
SLIDE 83 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-84
SLIDE 84 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

worksFor worksFor

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-85
SLIDE 85 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

worksFor worksFor empBy

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-86
SLIDE 86 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-87
SLIDE 87 Formal Ontologies Introduction to DLs

Semantics

An interpretation is a complete description of the world

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

((EmpStud ⊔ Parent) ⊓ ∃pays.⊤)I = {x1, x5}

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 28
slide-88
SLIDE 88 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29

slide-89
SLIDE 89 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

  • (¬Employee)I=?
  • (∃pays.⊤)I=?
  • (¬Parent ⊓ Employee)I=?
  • (¬EmpStud ⊓ ∀empBy.Company)I=?
  • (∃worksFor.∃empBy.Parent)I=?
  • (Student ⊓ ∀pays.⊥)I=?
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29
slide-90
SLIDE 90 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

  • (¬Employee)I={x0, x3, x4, x6, x7, x8, x10}
  • (∃pays.⊤)I=?
  • (¬Parent ⊓ Employee)I=?
  • (¬EmpStud ⊓ ∀empBy.Company)I=?
  • (∃worksFor.∃empBy.Parent)I=?
  • (Student ⊓ ∀pays.⊥)I=?
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29
slide-91
SLIDE 91 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

  • (¬Employee)I={x0, x3, x4, x6, x7, x8, x10}
  • (∃pays.⊤)I={x1, x5}
  • (¬Parent ⊓ Employee)I=?
  • (¬EmpStud ⊓ ∀empBy.Company)I=?
  • (∃worksFor.∃empBy.Parent)I=?
  • (Student ⊓ ∀pays.⊥)I=?
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29
slide-92
SLIDE 92 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

  • (¬Employee)I={x0, x3, x4, x6, x7, x8, x10}
  • (∃pays.⊤)I={x1, x5}
  • (¬Parent ⊓ Employee)I={x5, x9}
  • (¬EmpStud ⊓ ∀empBy.Company)I=?
  • (∃worksFor.∃empBy.Parent)I=?
  • (Student ⊓ ∀pays.⊥)I=?
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29
slide-93
SLIDE 93 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

  • (¬Employee)I={x0, x3, x4, x6, x7, x8, x10}
  • (∃pays.⊤)I={x1, x5}
  • (¬Parent ⊓ Employee)I={x5, x9}
  • (¬EmpStud ⊓ ∀empBy.Company)I={x9}
  • (∃worksFor.∃empBy.Parent)I=?
  • (Student ⊓ ∀pays.⊥)I=?
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29
slide-94
SLIDE 94 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

  • (¬Employee)I={x0, x3, x4, x6, x7, x8, x10}
  • (∃pays.⊤)I={x1, x5}
  • (¬Parent ⊓ Employee)I={x5, x9}
  • (¬EmpStud ⊓ ∀empBy.Company)I={x9}
  • (∃worksFor.∃empBy.Parent)I= ∅
  • (Student ⊓ ∀pays.⊥)I=?
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29
slide-95
SLIDE 95 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI EmpStudI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

pays pays worksFor worksFor empBy

  • (¬Employee)I={x0, x3, x4, x6, x7, x8, x10}
  • (∃pays.⊤)I={x1, x5}
  • (¬Parent ⊓ Employee)I={x5, x9}
  • (¬EmpStud ⊓ ∀empBy.Company)I={x9}
  • (∃worksFor.∃empBy.Parent)I= ∅
  • (Student ⊓ ∀pays.⊥)I={x7, x8}
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 29
slide-96
SLIDE 96 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

Find an interpretation I = ∆I, ·I such that:

  • (Student ⊓ Employee)I = ∅, ParentI ⊆ (Student ⊔ Employee)I, (¬EmpStud)I = ∆I
  • StudentI ⊆ (∀pays.⊥)I, (∃worksFor.⊤)I ⊆ (¬(Student ⊔ Tax ⊔ Company))I, EmployeeI ⊆ (∃empBy.⊤)I
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 30
slide-97
SLIDE 97 Formal Ontologies Introduction to DLs

Exercise

Let C = {Company, Employee, EmpStud, Parent, Student, Tax}, R = {empBy, pays, worksFor} I = {ibm, john, mary}

Find an interpretation I = ∆I, ·I such that:

  • (Student ⊓ Employee)I = ∅, ParentI ⊆ (Student ⊔ Employee)I, (¬EmpStud)I = ∆I
  • StudentI ⊆ (∀pays.⊥)I, (∃worksFor.⊤)I ⊆ (¬(Student ⊔ Tax ⊔ Company))I, EmployeeI ⊆ (∃empBy.⊤)I

I : ∆I TaxI ParentI StudentI EmployeeI CompanyI x0 x1 x2(mary) x3 x4 x5(john) x6(ibm) x7 x8 x9 x10

worksFor empBy worksFor empBy Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 30

slide-98
SLIDE 98 Formal Ontologies Introduction to DLs

Some Properties

Lemma

For every interpretation I = ∆I, ·I, and for every C, D ∈ LALC

  • (¬¬C)I = CI
  • (¬(C ⊓ D))I = (¬C ⊔ ¬D)I
  • (¬(C ⊔ D))I = (¬C ⊓ ¬D)I
  • (¬∀r.C)I = (∃r.¬C)I
  • (¬∃r.C)I = (∀r.¬C)I

ALC is the smallest propositionally closed DL

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 31
slide-99
SLIDE 99 Formal Ontologies Introduction to DLs

Some Properties

Lemma

For every interpretation I = ∆I, ·I, and for every C, D ∈ LALC

  • (¬¬C)I = CI
  • (¬(C ⊓ D))I = (¬C ⊔ ¬D)I
  • (¬(C ⊔ D))I = (¬C ⊓ ¬D)I
  • (¬∀r.C)I = (∃r.¬C)I
  • (¬∃r.C)I = (∀r.¬C)I

ALC is the smallest propositionally closed DL

Theorem

ALC has the finite model property: if C is satisfiable, then there is I = ∆I, ·I such that CI = ∅ and ∆I is finite

Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 31
slide-100
SLIDE 100 Formal Ontologies Introduction to DLs

Epilogue

Summary

  • What we mean by ontology
  • Formal ontologies and their main ingredients
  • Basic description logics
  • The concept language and its semantics
  • How DLs relate to other formalisms
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 32
slide-101
SLIDE 101 Formal Ontologies Introduction to DLs

Epilogue

Summary

  • What we mean by ontology
  • Formal ontologies and their main ingredients
  • Basic description logics
  • The concept language and its semantics
  • How DLs relate to other formalisms

What next?

  • A fundamental notion in DLs
  • Formalising ontologies with DLs
Ivan Varzinczak Formal Foundations of Ontologies and Reasoning (Part 1) 26 April 2019 32