reasoning for ontology engineering and usagecalvanese/teaching/2008-10... · 2008-12-18 ·...

36
The TONES Consortium: • Free University of Bozen-Bolzano • Università di Roma “La Sapienza” • The University of Manchester • Technische Universität Dresden • Technische Universität Hamburg-Harburg http://www.tonesproject.org/ Reasoning for Ontology Engineering and Usage 1. Introduction, standard reasoning (Ralf Möller) 2. Bottom-up approach for ontology design (Anni-Yasmin Turhan) 3. Understanding and repairing inferences (Matthew Horridge) 4. Data integration through ontologies (Diego Calvanese, Giuseppe de Giacomo, Mariano Rodriguez)

Upload: others

Post on 13-Mar-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

The TONES Consortium: • Free University of Bozen-Bolzano • Università di Roma “La Sapienza” • The University of Manchester • Technische Universität Dresden • Technische Universität Hamburg-Harburg

http://www.tonesproject.org/

Reasoning for Ontology Engineering and Usage

1. Introduction, standard reasoning (Ralf Möller)

2. Bottom-up approach for ontology design (Anni-Yasmin Turhan)

3. Understanding and repairing inferences (Matthew Horridge)

4. Data integration through ontologies (Diego Calvanese, Giuseppe de Giacomo, Mariano Rodriguez)

Page 2: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

The TONES Consortium: • Free University of Bozen-Bolzano • Università di Roma “La Sapienza” • The University of Manchester • Technische Universität Dresden • Technische Universität Hamburg-Harburg

http://www.tonesproject.org/

Reasoning for Ontology Engineering and Usage Part 1: Introduction

Ralf Möller Hamburg University of Technology

Page 3: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 3 Reasoning for Ontology Engineering and Usage

Terminological knowledge

• Represent an application domain in terms of •  Classes (concept descriptions), •  Properties (relations, role descriptions), and •  Objects (instances, individuals)

•  First step: select names (define signature) •  Atomic concept descriptions:

Student, Professor, Chair, Department, … •  Atomic role descriptions: headOf, takesCourse, memberOf •  Individuals: FullProfessor01, Department09, …

• Use axioms to impose “constraints” (restrictions) on the interpretation of these names •  A chair must be a person, •  Persons are no departments

Page 4: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ontologies

•  Standardization of ontology languages •  DL (abstract syntax), OWL 2 (and various sublanguages)

•  Standardization of query and manipulation languages •  DIG 1.2, OWL API, OWLlink

•  Decision problems •  Does the ontology make sense (satisfiability) •  Find implicit terminology (e.g. subsumption) •  Find implicit facts

•  Need reasoning for solving problems •  Need optimized techniques to achieve scalability

TBox - Class-level

Ontology

ABox - Instance-level

Reasoner

Page 5: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Editing Ontologies

Ralf Möller 5 Reasoning for Ontology Engineering and Usage

Page 6: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Various approaches for design

• Top-down, bottom-up, reuse, …

Ralf Möller 6 Reasoning for Ontology Engineering and Usage

TBox - Class-level O

ntology

ABox - Instance-level

Top-down ontology design

Reasoner

Page 7: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 7 Reasoning for Ontology Engineering and Usage

Software infrastructure for ontology engineering

•  Standard Reasoning: •  CEL, Fact++, Pellet, RacerPro

•  Non-Standard Reasoning: •  Commonalities, Approximation, Matching, Modularization, Explanation •  SONIC as a Racer plugin, Pellet Extensions

•  Ontology-based data access •  RacerPro, QuOnto

•  User Interfaces: •  RacerPorter (Tutorial Part 1) + SONIC plugin •  Protégé + Plugins:

•  Racer plugin (Tutorial Part 1) •  SONIC plugin (Tutorial Part 2) •  Modularization plugin (Tutorial Part 3) •  Explanation plugin (Tutorial Part 3) •  OBDA plugin (Tutorial Part 4)

Page 8: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 8 Reasoning for Ontology Engineering and Usage

OWL, a textual ontology language

• Various syntaxes •  OWL/XML syntax •  RDF/XML syntax •  Functional syntax(es)

• Need to understand the semantics • Semantics based on description logics

•  Abstract syntax

Page 9: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 9 Reasoning for Ontology Engineering and Usage

Representative DL:

Page 10: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 10 Reasoning for Ontology Engineering and Usage

Example concept descriptions

Page 11: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 11 Reasoning for Ontology Engineering and Usage

Page 12: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 12 Reasoning for Ontology Engineering and Usage

Page 13: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 13 Reasoning for Ontology Engineering and Usage

Page 14: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 14 Reasoning for Ontology Engineering and Usage

Functional style: Manchester Syntax Class: Person and (worksFor some Organization)

OWL/XML Syntax <ox:Intersection> <ox:OWLClass ox:URI=“Person”> <ox:ObjectSomeValuesFrom> <ox:ObjectProperty ox:URI=“worksFor”/> <ox:OWLClass ox:URI=“Organization”/> <ox:ObjectSomeValuesFrom/> <ox:Intersection/>

Page 15: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 15 Reasoning for Ontology Engineering and Usage

ALCQ Semantics

Page 16: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Interpretation of concept descrs

P1 P2 P3 P4

DL DB Sem Web

Person Person Person Person

Course Course Course

Page 17: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Satisfiability of concept descriptions

Ralf Möller 17 Reasoning for Ontology Engineering and Usage

Page 18: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 18 Reasoning for Ontology Engineering and Usage

Tbox

Page 19: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

19

Model of Tbox, Subsumption

Page 20: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 20 Reasoning for Ontology Engineering and Usage

Tbox inference problems

Page 21: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 21 Reasoning for Ontology Engineering and Usage

ALC as a fragment of FOL

•  Concepts = unary predicates •  Roles = binary predicates •  Concept descriptions = FOL-formulae with one free

variable •  GCIs = FOL-formulae without free variables

(sentences) •  KB = set of sentences

Page 22: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 22 Reasoning for Ontology Engineering and Usage

Classification

Person Organization Course

Professor

FullProfessor

Student Chair

UndergraduateStudent

Department

Page 23: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 23 Reasoning for Ontology Engineering and Usage

Classification

Person Organization Course

Professor

FullProfessor

Student

Chair UndergraduateStudent

Department

Page 24: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Demo

• RacerPro and RacerPorter

Ralf Möller 24 Reasoning for Ontology Engineering and Usage

Page 25: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

What about individuals?

Ralf Möller 25 Reasoning for Ontology Engineering and Usage

TBox - Class-level O

ntology

ABox - Instance-level

Querying Ontologies

Reasoner

Chair(x)

Ralf, Ian,...

Page 26: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 26 Reasoning for Ontology Engineering and Usage

Abox

Page 27: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Example

Ralf Möller 27 Reasoning for Ontology Engineering and Usage

Page 28: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 28 Reasoning for Ontology Engineering and Usage

Abox consistency

Page 29: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Abox inference problems

Ralf Möller 29 Reasoning for Ontology Engineering and Usage

Page 30: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ontology usage

• Example: curriculum design

Ralf Möller 30 Reasoning for Ontology Engineering and Usage

Page 31: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Unique name assumption

• Different individuals are mapped to different domain objects

• Example:

Ralf Möller 31 Reasoning for Ontology Engineering and Usage

Page 32: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Example

• Find eager students

Ralf Möller 32 Reasoning for Ontology Engineering and Usage

Page 33: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Open world assumption

• If something cannot be proven, it is not concluded that the negation holds

• Example: find lazy professors

• Epistemic aspects in query languages required (e.g., nRQL)

Ralf Möller 33 Reasoning for Ontology Engineering and Usage

Page 34: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 34 Reasoning for Ontology Engineering and Usage

Query Answering

Page 35: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

Ralf Möller 35 Reasoning for Ontology Engineering and Usage

Query answering w.r.t. ontologies

•  Incomplete information, but need the certain answers •  Expressivity of different query languages

•  Grounded conjunctive queries plus additions • In principle:

reduction to instance tests (standard service)‏ • But: non-trivial optimization techniques

required (e.g., query execution plans) • Efficient QA in practical applications for expr. DLs

• Aggregation operators and • Server-side processing of query results

with optimization • Practical implementation as part of RacerPro

Page 36: Reasoning for Ontology Engineering and Usagecalvanese/teaching/2008-10... · 2008-12-18 · Reasoning for Ontology Engineering and Usage Ralf Möller 35 Query answering w.r.t. ontologies

State of the Art

Expressive DLs, answering GCQs • 5 years ago: 100 Individuals • 3 years ago: 1000 Individuals • Now: 10000 individuals, interactive queries,

up to 100000 depending on the expressivity used in the Tbox

• Note that we talk about sound and complete reasoning

Ralf Möller 36 Reasoning for Ontology Engineering and Usage