Description logics. Description Logics. Applications. Outline. Syntax - AL. Tbox and Abox

Similar documents
Description Logics. decidable, supported by automatic reasoning systems

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms

Fuzzy Description Logics

Principles of Knowledge Representation and Reasoning

Description Logics. an introduction into its basic ideas

An Introduction to Description Logics

Knowledge Bases in Description Logics

Chapter 2 Background. 2.1 A Basic Description Logic

Structured Descriptions & Tradeoff Between Expressiveness and Tractability

Web Ontology Language (OWL)

Complexity of Subsumption in the EL Family of Description Logics: Acyclic and Cyclic TBoxes

OPPA European Social Fund Prague & EU: We invest in your future.

Description Logics. Glossary. Definition

Completing Description Logic Knowledge Bases using Formal Concept Analysis

Completing Description Logic Knowledge Bases using Formal Concept Analysis

Adaptive ALE-TBox for Extending Terminological Knowledge

Computing Least Common Subsumers in Description Logics with Existential Restrictions*

Teil III: Wissensrepräsentation und Inferenz. Kap.11: Beschreibungslogiken

INTEGRITY CONSTRAINTS FOR THE SEMANTIC WEB: AN OWL 2 DL EXTENSION

Least Common Subsumers and Most Specific Concepts in a Description Logic with Existential Restrictions and Terminological Cycles*

A Crisp Representation for Fuzzy SHOIN with Fuzzy Nominals and General Concept Inclusions

Lightweight Description Logics: DL-Lite A and EL ++

ALC Concept Learning with Refinement Operators

Quasi-Classical Semantics for Expressive Description Logics

Optimisation of Terminological Reasoning

OWL Basics. Technologies for the Semantic Web. Building a Semantic Web. Ontology

Introduzione alle logiche descrittive

Week 4. COMP62342 Sean Bechhofer, Uli Sattler


DESCRIPTION LOGICS. Paula Severi. October 12, University of Leicester

Knowledge Representation for the Semantic Web Lecture 2: Description Logics I

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

On the Complexity of Dealing with Inconsistency in Description Logic Ontologies

Knowledge Representation and Description Logic Part 2

A Survey of Temporal Knowledge Representations

OWL Semantics. COMP60421 Sean Bechhofer University of Manchester

Description Logics. Adrian Groza. Department of Computer Science Technical University of Cluj-Napoca

Description Logics: an Introductory Course on a Nice Family of Logics. Day 2: Tableau Algorithms. Uli Sattler

On Subsumption and Instance Problem in ELH w.r.t. General TBoxes

Decidability of SHI with transitive closure of roles

Defeasible Inference with Circumscriptive OWL Ontologies

Modular Reuse of Ontologies: Theory and Practice

Complexity of Reasoning in Entity Relationship Models

On the Decidability Status of Fuzzy ALC with General Concept Inclusions

Expressive number restrictions in Description Logics

Data Complexity of Query Answering in Description Logics

An Introduction to Description Logic III

An Introduction to Description Logics: Techniques, Properties, and Applications. NASSLLI, Day 2, Part 2. Reasoning via Tableau Algorithms.

A Possibilistic Extension of Description Logics

High Performance Absorption Algorithms for Terminological Reasoning

EXPLANATION AND DIAGNOSIS SERVICES FOR UNSATISFIABILITY AND INCONSISTENCY IN DESCRIPTION LOGICS

Closed World Reasoning for OWL2 with Negation As Failure

Description Logics (DLs)

Uncertainty in Description Logics: a Lattice-based Approach

Role-depth Bounded Least Common Subsumers by Completion for EL- and Prob-EL-TBoxes

2. A tableau algorithm for ALC with TBoxes, number restrictions, and inverse roles. Extend ALC-tableau algorithm from first session with

RDF and Logic: Reasoning and Extension

Finite Model Reasoning in Horn-SHIQ

OWL Semantics COMP Sean Bechhofer Uli Sattler

Semantic Web Uncertainty Management

Keys, Nominals, and Concrete Domains

Tight Complexity Bounds for Reasoning in the Description Logic BEL

Restricted role-value-maps in a description logic with existential restrictions and terminological cycles

Notes on DL-Lite. 2 Dip. di Informatica e Sistemistica

Reasoning in the SHOQ(D n ) Description Logic

A Zadeh-Norm Fuzzy Description Logic for Handling Uncertainty: Reasoning Algorithms and the Reasoning System

A Description Logic with Concrete Domains and a Role-forming Predicate Operator

A MILP-based decision procedure for the (Fuzzy) Description Logic ALCB

Complexities of Horn Description Logics

A Tableau Algorithm for Fuzzy Description Logics over Residuated De Morgan Lattices

Consequence-Based Reasoning for Ontology Classification

The Complexity of Lattice-Based Fuzzy Description Logics

Conservative Extensions in Expressive Description Logics

Reasoning in Expressive Description Logics

Knowledge Representation and Reasoning Logics for Artificial Intelligence

Tractable Extensions of the Description Logic EL with Numerical Datatypes

Knowledge Integration for Description Logics

LTCS Report. A finite basis for the set of EL-implications holding in a finite model

Knowledge Representation and Ontologies Part 2: Description Logics

Hybrid Unification in the Description Logic EL

LTCS Report. Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity Measures. LTCS-Report 16-07

On Correspondences between Probabilistic First-Order and Description Logics

The DL-Lite Family and Relations

Fuzzy Ontologies over Lattices with T-norms

Ontology and Database Systems: Knowledge Representation and Ontologies Part 2: Description Logics

Reasoning with Annotated Description Logic Ontologies

arxiv: v2 [cs.lo] 21 Jul 2014

Decidable Reasoning in Terminological Knowledge. Representation Systems. Abstract

Query Answering in DL-Lite with Datatypes: A Non-Uniform Approach

Extensions to Description Logics

Unrestricted and Finite Model Reasoning in Class-Based Representation Formalisms

Definitorially Complete Description Logics

The semantics of ALN knowledge bases is the standard model-based semantics of rst-order logic. An interpretation I contains a non-empty domain O I. It

Teil III: Wissensrepräsentation und Inferenz. Kap.10: Beschreibungslogiken

The DL-Lite Family and Relations

The Bayesian Ontology Language BEL

Optimization Techniques for Fuzzy Description Logics

DL-Lite Contraction and Revision

Complexities of Horn Description Logics

Fuzzy OWL: Uncertainty and the Semantic Web

Transcription:

Description Logics Description logics A family of KR formalisms, based on FOPL decidable, supported by automatic reasoning systems Used for modelling of application domains Classification of concepts and individuals concepts (unary predicates), subconcept (subsumption), roles (binary predicates), individuals (constants), constructors for building concepts, equality [Baader et al. 2002] Applications Outline software management configuration management natural language processing clinical information systems information retrieval DL languages syntax and semantics DL reasoning services algorithms, complexity DL systems DLs for the web Ontologies and the Web Tbox and Abox TBOX ABOX Concept and role taxonomies Individuals Intensional knowledge Extensional knowledge Reasoner Syntax - AL R atomic role, A atomic concept C,D A (atomic concept) T (universal concept, top) (bottom concept) A (atomic negation) C D (conjunction) R.C (value restriction) R.T (limited existential quantification) 1

AL[X] Example C C (concept negation) Team U C U D (disjunction) E R.C (existential quantification) N n R, n R (number restriction) Q n R.C, n R.C (qualified number restriction) Team 10 hasmember Team 11 hasmember hasmember.soccer-player AL[X] S[X] R I H F R S (role conjunction) R- (inverse roles) (role hierarchies) u 1 = u 2, u 1 u 2 (feature (dis)agreements) S ALC + transitive roles SHIQ ALC + transitive roles + role hierarchies + inverse roles + number restrictions Tbox Example Tbox Terminological axioms: C = D (R = S) C D (R S) (disjoint C D) An equality whose left-hand side is an atomic concept is a definition. A finite set of definitions T is a Tbox (or terminology) if no symbolic name is defined more than once. Soccer-player T Team 2 hasmember Large-Team = Team 10 hasmember S-Team = Team 11 hasmember hasmember.soccer-player 2

DL as sublanguage of FOPL Abox Team(this) ^ ( x 1,...,x 11 : hasmember(this,x1) ^ ^ hasmember(this,x11) ^x 1 x 2 ^ ^ x 10 x 11 ) Assertions about individuals: C(a) R(a,b) ^ ( x: hasmember(this,x) Soccer-player(x)) Example Individuals in the description language Ida-member(Sture) O {i1,, ik (one-of) R:a (fills) Example Knowledge base (S-Team hasmember:sture)(ida-ff) A knowledge base is a tuple < T, A > where T is a Tbox and A is an Abox. 3

Example KB Soccer-player T Team 2 hasmember Large-Team = Team 10 hasmember S-Team = Team 11 hasmember hasmember.soccer-player Ida-member(Sture) (S-Team hasmember:sture)(ida-ff) AL (Semantics) An interpretation I consists of a non-empty set I (the domain of the interpretation) and an interpretation function. I which assigns to every atomic concept A a set A I I and to every atomic role R a binary relation R I I I. The interpretation function is extended to concept definitions using inductive definitions. C,D A (atomic concept) T (universal concept) (bottom concept) A (atomic negation) C D (conjunction) R.C (value restriction) R.T (limited existential quantification) AL (Semantics) T I = I I = Ø ( A) I = I \ A I (C D) I = C I D I ( R.C) I = {a I b.(a,b) R I b C I ( R.T) I = {a I b.(a,b) R I ALC (Semantics) ( C) I = I \ C I (C U D) I = C I U D I ( n R) I ={a I # {b I (a,b) R I n ( nr) I ={a I # {b I (a,b) R I n ( R.C) I = {a I b I : (a,b) R I ^ b C I Individual i i I I Semantics Unique Name Assumption: if i 1 i 2 then i 1I i 2 I Semantics An interpretation. I is a model for a terminology T iff C I = D I for all C = D in T C I D I for all a C D in T C I D I = Ø for all (disjoint C D) in T 4

Semantics Semantics - acyclic Tbox An interpretation. I is a model for a knowledge base <T, A > iff. I is a model for T a I C I for all C(a) in A <a I,b I > R I for all R(a,b) in A Bird = Animal Skin.Feather I = {tweety, goofy, fea1, fur1 Animal I = {tweety, goofy Feather I = {fea1 Skin I = {<tweety,fea1>, <goofy,fur1> Bird I = {tweety Semantics - cyclic Tbox Semantics - cyclic Tbox QuietPerson = Person Friend.QuietPerson ( A = F(A) ) I = {john, sue, andrea, bill Person I = {john, sue, andrea, bill Friend I = {<john,sue>, <andrea,bill>, <bill,bill> QuietPerson I ={john, sue QuietPerson I ={john, sue, andrea, bill Descriptive semantics: A = F(A) is a constraint stating that A has to be some solution for the equation. Not appropriate for defining concepts Necessary and sufficient conditions for concepts Human = Mammal Parent Parent.Human Semantics - cyclic Tbox Least fixpoint semantics: A = F(A) specifies that A is to be interpreted as the smallest solution (if it exists) for the equation. Appropriate for inductively defining concepts DAG = EmptyDAG U Non-Empty-DAG Non-Empty-DAG = Node Arc.Non-Empty-DAG Human = Mammal Parent Parent.Human Human = Semantics - cyclic Tbox Greatest fixpoint semantics: A = F(A) specifies that A is to be interpreted as the greatest solution (if it exists) for the equation. Appropriate for defining concepts whose individuals have circularly repeating structure FoB = Blond Child.FoB Human = Mammal Parent Parent.Human Horse = Mammal Parent Parent.Horse Human = Horse 5

Open world vs closed world semantics Databases: closed world reasoning database instance represents one interpretation absence of information interpreted as negative information complete information query evaluation is finite model checking DL: open world reasoning Abox represents many interpretations (its models) absence of information is lack of information incomplete information query evaluation is logical reasoning Open world vs closed world semantics haschild(jocasta, Oedipus) haschild(jocasta, Polyneikes) haschild(oedipus, Polyneikes) haschild(polyneikes, Thersandros) patricide(oedipus) patricide(thersandros) Does it follow from the Abox that haschild.(patricide haschild. patricide)(jocasta)? Reasoning services Satisfiability of concept Subsumption between concepts Equivalence between concepts Disjointness of concepts Classification Instance checking Realization Retrieval Knowledge base consistency Reasoning services Satisfiability of concept C is satisfiable w.r.t. T if there is a model I of T such that C I is not empty. Subsumption between concepts C is subsumed by D w.r.t. T if C I D I for every model I of T. Equivalence between concepts C is equivalent to D w.r.t. T if C I = D I for every model I of T. Disjointness of concepts C and D are disjoint w.r.t. T if C I D I = Ø for every model I of T. Reasoning services Reasoning services Reduction to subsumption C is unsatisfiable iff C is subsumed by C and D are equivalent iff C is subsumed by D and D is subsumed by C C and D are disjoint iff C D is subsumed by The statements also hold w.r.t. a Tbox. Reduction to unsatisfiability C is subsumed by D iff C D is unsatisfiable C and D are equivalent iff both (C D) and (D C) are unsatisfiable C and D are disjoint iff C D is unsatisfiable The statements also hold w.r.t. a Tbox. 6

Tableau algorithms To prove that C subsumes D: If C subsumes D, then it is impossible for an individual to belong to D but not to C. Idea: Create an individual that belongs to D and not to C and see if it causes a contradiction. If always a contradiction (clash) then subsumption is proven. Otherwise, we have found a model that contradicts the subsumption. Tableau algorithms Based on constraint systems. S = { x: C D Add constraints according to a set of propagation rules Until clash or no constraint is applicable Tableau algorithms de Morgan rules C C (A B) A U B (A U B) A B ( R.C) R.( C) ( R.C) R.( C) Tableau algorithms constraint propagation rules S {x:c 1, x:c 2 U S if x: C 1 C 2 in S and either x:c 1 or x:c 2 is not in S S U {x:d U S if x: C 1 U C 2 in S and neither x:c 1 or x:c 2 is in S, and D = C 1 or D = C 2 Tableau algorithms constraint propagation rules S {y:c U S if x: R.C in S and xry in S and y:c is not in S Example ST: Tournament hasparticipant.swedish SBT: Tournament hasparticipant.(swedish Belgian) S {xry, y:c U S if x: R.C in S and y is a new variable and there is no z such that both xrz and z:c are in S 7

SBT => ST? x: (Tournament hasparticipant.swedish) hasparticipant.(swedish Belgian)) x: ( Tournament U hasparticipant. Swedish) hasparticipant.(swedish Belgian)) -rule: U hasparticipant. Swedish) hasparticipant.(swedish Belgian)), x: Tournament U hasparticipant. Swedish, x: hasparticipant.(swedish Belgian) -rule: U hasparticipant. Swedish) hasparticipant.(swedish Belgian)), x: Tournament U hasparticipant. Swedish, x: hasparticipant.(swedish Belgian), x hasparticipant y, y: (Swedish Belgian) -rule: S= { U hasparticipant. Swedish) hasparticipant.(swedish Belgian)), x: Tournament U hasparticipant. Swedish, x: hasparticipant.(swedish Belgian), x hasparticipant y, y: (Swedish Belgian), y: Swedish, y: Belgian U-rule, choice 1 U hasparticipant. Swedish) hasparticipant.(swedish Belgian)), x: Tournament U hasparticipant. Swedish, x: hasparticipant.(swedish Belgian), x hasparticipant y, y: (Swedish Belgian), y: Swedish, y: Belgian, x: Tournament clash 8

U-rule, choice 2 U hasparticipant. Swedish) hasparticipant.(swedish Belgian)), x: Tournament U hasparticipant. Swedish, x: hasparticipant.(swedish Belgian), x hasparticipant y, y: (Swedish Belgian), y: Swedish, y: Belgian, x: hasparticipant. Swedish choice 2 continued -rule U hasparticipant. Swedish) hasparticipant.(swedish Belgian)), x: Tournament U hasparticipant. Swedish, x: hasparticipant.(swedish Belgian), x hasparticipant y, y: (Swedish Belgian), y: Swedish, y: Belgian, x: hasparticipant. Swedish, y: Swedish clash ST => SBT? x: (Tournament hasparticipant.(swedish Belgian)) hasparticipant.swedish) x: ( Tournament hasparticipant.swedish) -rule, x: hasparticipant.swedish -rule, x: hasparticipant.swedish, x hasparticipant y, y: Swedish 9

U rule, choice 1, x: hasparticipant.swedish, x hasparticipant y, y: Swedish, x: Tournament clash U rule, choice 2, x: hasparticipant.swedish, x hasparticipant y, y: Swedish, x: hasparticipant.( Swedish U Belgian) choice 2 continued rule, x: hasparticipant.swedish, x hasparticipant y, y: Swedish, x: hasparticipant.( Swedish U Belgian), y: ( Swedish U Belgian) choice 2 continued U rule, choice 2.1, x: hasparticipant.swedish, x hasparticipant y, y: Swedish, x: hasparticipant.( Swedish U Belgian), y: ( Swedish U Belgian), y: Swedish clash choice 2 continued U rule, choice 2.2, x: hasparticipant.swedish, x hasparticipant y, y: Swedish, x: hasparticipant.( Swedish U Belgian), y: ( Swedish U Belgian), y: Belgian ok, model Complexity - languages Overview available via the DL home page at http://dl.kr.org Example tractable language: A, T,, A, C D, R.C, n R, nr Reasons for intractability: choices, e.g. C U D exponential size models, e.g interplay universal and existential quantification Reasons for undecidability: e.g. role-value maps R=S 10

Systems Systems undecidable KL-ONE Loom NIKL ExpTime PSpace Investigation Of complexity FaCT, CRACK, KRIS NP starts CLASSIC PTime DLP, RACER Overview available via the DL home page at http://dl.kr.org Current systems include: CEL, Cerebra Enginer, FaCT++, fuzzydl, HermiT, KAON2, MSPASS, Pellet, QuOnto, RacerPro, SHER Late Early Mid Late 1980s 1990s 1990s 1990s Extensions Time Defaults Part-of Knowledge and belief Uncertainty (fuzzy, probabilistic) OWL OWL-Lite, OWL-DL, OWL-Full: increasing expressivity A legal OWL-Lite ontology is a legal OWL-DL ontology is a legal OWL-Full ontology OWL-DL: expressive description logic, decidable XML-based RDF-based (OWL-Full is extension of RDF, OWL- Lite and OWL-DL are extensions of a restriction of RDF) 11

OWL-Lite Class, subclassof, equivalentclass intersectionof (only named classes and restrictions) Property, subpropertyof, equivalentproperty domain, range (global restrictions) inverseof, TransitiveProperty (*), SymmetricProperty, FunctionalProperty, InverseFunctionalProperty allvaluesfrom, somevaluesfrom (local restrictions) mincardinality, maxcardinality (only 0/1) Individual, sameas, differentfrom, AllDifferent (*) restricted OWL-DL Type separation (class cannot also be individual or property, property cannot be also class or individual), Separation between DatatypeProperties and ObjectProperties Class complex classes, subclassof, equivalentclass, disjointwith intersectionof, unionof, complementof Property, subpropertyof, equivalentproperty domain, range (global restrictions) inverseof, TransitiveProperty (*), SymmetricProperty, FunctionalProperty, InverseFunctionalProperty allvaluesfrom, somevaluesfrom (local restrictions), oneof, hasvalue mincardinality, maxcardinality Individual, sameas, differentfrom, AllDifferent (*) restricted References Baader, Calvanese, McGuinness, Nardi, Patel- Schneider. The Description Logic Handbook. Cambridge University Press, 2003. Donini, Lenzerini, Nardi, Schaerf, Reasoning in description logics. Principles of knowledge representation. CSLI publications. pp 191-236. 1996. dl.kr.org www.daml.org www.w3.org (owl) 12