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

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

Chapter 2 Background. 2.1 A Basic Description Logic

Structured Descriptions & Tradeoff Between Expressiveness and Tractability

Description Logics. an introduction into its basic ideas

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

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

Logics for Data and Knowledge Representation

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

An Introduction to Description Logics

An Introduction to Description Logic III

Knowledge Representation and Description Logic Part 2

ALC Concept Learning with Refinement Operators

Principles of Knowledge Representation and Reasoning

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

Fuzzy Description Logics

A Survey of Temporal Knowledge Representations

Mathematical Logics Description Logic: Tbox and Abox

Introduzione alle logiche descrittive

Mathematical Logics Description Logic: Introduction

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking

Description Logics. Glossary. Definition

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Relations to first order logic

Hybrid Rules with Well-Founded Semantics

The Complexity of Lattice-Based Fuzzy Description Logics

Translating Ontologies from Predicate-based to Frame-based Languages

Description Logics. decidable, supported by automatic reasoning systems

On the Decidability Status of Fuzzy ALC with General Concept Inclusions

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

Description Logics (DLs)

Propositional and Predicate Logic - V

Decidability of SHI with transitive closure of roles

Completing Description Logic Knowledge Bases using Formal Concept Analysis

First Order Logic: Syntax and Semantics

Part 1: (Pills of) Knowledge Representation and Reasoning. Lucia Winter School, Daniele Nardi, December 2013 Knowledge Representation and Reasoning 1

Bridging the Gap Between OWL and Relational Databases

An Introduction to Description Logics: Techniques, Properties, and Applications. NASSLLI, Day 3, Part 2. Computational Complexity.

Quasi-Classical Semantics for Expressive Description Logics

On Terminological Default Reasoning about Spatial Information: Extended Abstract

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

Propositional Logic: Models and Proofs

On Axiomatic Rejection for the Description Logic ALC

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

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

Inverting Proof Systems for Secrecy under OWA

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

Modular Reuse of Ontologies: Theory and Practice

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

Description Logics: a Nice Family of Logics. Day 4: More Complexity & Undecidability ESSLLI Uli Sattler and Thomas Schneider

EXPLANATION AND DIAGNOSIS SERVICES FOR UNSATISFIABILITY AND INCONSISTENCY IN DESCRIPTION LOGICS

Classical First-Order Logic

Local Closed World Reasoning with Description Logics under the Well-Founded Semantics

arxiv: v2 [cs.lo] 21 Jul 2014

Propositional Logic Language

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

An Introduction to Modal Logic III

Data Complexity of Query Answering in Description Logics

Knowledge Representation and Description Logic Part 3

Knowledge Bases in Description Logics

Reasoning. Inference. Knowledge Representation 4/6/2018. User

Semantics and Inference for Probabilistic Ontologies

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

Next. Description Logics: a Nice Family of Logics. Some

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

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

A generalization of modal definability

Combining First-Order Logic Knowledge Bases and Logic Programming using fol-programs Master Thesis

Advanced Topics in LP and FP

Reasoning in Graph-based Clausal Form Logic

DL-Lite Contraction and Revision


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

A RESOLUTION DECISION PROCEDURE FOR SHOIQ

Extending Logic Programs with Description Logic Expressions for the Semantic Web

Adding ternary complex roles to ALCRP(D)

Local Closed-World Reasoning with Description Logics under the Well-founded Semantics

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

Automata, Logic and Games: Theory and Application

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

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

First Order Logic (FOL)

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

Knowledge Base Exchange: The Case of OWL 2 QL

Inconsistency-Tolerant Reasoning with OWL DL

Expressive number restrictions in Description Logics

Completing Description Logic Knowledge Bases using Formal Concept Analysis

KE/Tableaux. What is it for?

LTCS Report. Exploring finite models in the Description Logic EL gfp. Franz Baader, Felix Distel. LTCS-Report 08-05

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

First-order Predicate Logic (FOPL) as an Ontology Language. Ontology Languages 1

Rigorous Software Development CSCI-GA

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Closed World Reasoning for OWL2 with Negation As Failure

2. Introduction to commutative rings (continued)

Modularity in DL-Lite

OWL Semantics. COMP60421 Sean Bechhofer University of Manchester

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

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

LTCS Report. Blocking and Pinpointing in Forest Tableaux. LTCS-Report 08-02

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2

Transcription:

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

Description Logics Petr Křemen petr.kremen@fel.cvut.cz FEL ČVUT 39 / 157

Our plan Towards Description Logics ALC Language 40 / 157

Towards Description Logics 41 / 157

Let s review our knowledge about FOPL 2 What is a term, axiom/formula, theory, model, universal closure, resolution, logical consequence? What is an open-world assumption (OWA)/closed-world assumption (CWA)? What is the difference between a predicate (relation) and a predicate symbol? What does it mean, when saying that FOPL is undecidable? What does it mean, when saying that FOPL is monotonic? What is the idea behind Deduction Theorem, Soundness, Completeness? 2 First Order Predicate Logic 42 / 157

Isn t FOPL enough? Why do we speak about modal logics, description logics, etc.? FOPL is undecidable many logical consequences cannot be verified in finite time. We often do not need full expressiveness of FOL. Well, we have Prolog wide-spread and optimized implementation of FOPL, right? Prolog is not an implementation of FOPL OWA vs. CWA, negation as failure, problems in expressing disjunctive knowledge, etc. Well, relational databases are also not enough? RDBMS accept CWA and support just finite domains. RDBMS are not flexible enough DB model change is complicated that adding/removing an axiom from an ontology. 43 / 157

Technologies sketched so far aren t enough? Semantic networks and Frames Lack well defined (declarative) semantics What is the semantiics of a slot in a frame (relation in semantic networks)? The slot must/might be filled once/multiple times? Conceptual graphs are beyond FOPL (thus undecidable). What are description logics (DLs)? logic-based languages for modeling terminological knowledge, incomplete knowledge. Almost exclusively, DLs are decidable subsets of FOPL. první jazyky vznikly jako snaha o formalizaci sémantických sítí a rámců. První implementace v 80 s systémy KL-ONE, KAON, Classic. 44 / 157

What are Description Logics? family of logic-based languages for modeling terminological knowledge, incomplete knowledge. Almost exclusively, DLs are decidable subsets of FOPL. first languages emerged as an experiment of giving formal semantics to semantic networks and frames. First implementations in 80 s KL-ONE, KAON, Classic. 90 s ALC 2004 SHOIN (D) OWL 2009 SROIQ(D) OWL 2 45 / 157

ALC Language 46 / 157

Concepts and Roles Basic building blocks of DLs are : (atomic) concepts - representing (named) unary predicates / classes, e.g. Parent, or Person haschild Person. (atomic) roles - represent (named) binary predicates / relations, e.g. haschild individuals - represent ground terms / individuals, e.g. JOHN Theory K (in OWL refered as Ontology) of DLs consists of a TBOX T - representing axioms generally valid in the domain, e.g. T = {Man Person} ABOX A - representing a particular relational structure (data), e.g. A = {Man(JOHN)} DLs differ in their expressive power (concept/role constructors, axiom types). 47 / 157

Semantics, Interpretation as ALC is a subset of FOPL, let s define semantics analogously (and restrict interpretation function where applicable): Interpretation is a pair I = ( I, I), where I is an interpretation domain and I is an interpretation function. Having atomic concept A, atomic role R and individual a, then A I I R I I I a I I 48 / 157

ALC (= attributive language with complements) Having concepts C, D, atomic concept A and atomic role R, then for interpretation I : concept concept I description I (universal concept) (unsatisfiable concept) C I \ C I (negation) C D C I D I (intersection) C D C I D I (union) R C {a b ((a, b) R I b C I )} (universal restriction) R C {a b ((a, b) R I b C I )} (existential restriction) TBOX axiom I = axiom iff description C D C I D I (inclusion) C D C I = D I (equivalence) ABOX (UNA = unique name assumption 3 ) axiom I = axiom iff description C(a) a I C I (concept assertion) R(a, b) (a I, b I ) R I (role assertion) 3 two different individuals denote two different domain elements 49 / 157

Logical Consequence For an arbitrary set S of axioms (resp. theory K = (T, A), where S = T A), then I = S if I = α for all α S (I is a model of S, resp. K) S = β if I = β whenever I = S (β is a logical consequence of S, resp. K) S is consistent, if S has at least one model 50 / 157

ALC Example Example Consider an information system for genealogical data. Information integration from various sources is crucial databases, information systems with different data models. As an integration layer, let s use a description logic theory. Let s have atomic concepts Person, Man, GrandParent and atomic role haschild. How to express a set of persons that have just men as their descendants, if any? Person haschild Man How to define concept GrandParent? GrandParent Person haschild haschild How does the previous axiom look like in FOPL? x (GrandParent(x) (Person(x) y (haschild(x, y) z (haschild(y, z))))) 51 / 157

Interpretation Example Example Consider an ontology K 1 = ({GrandParent Person haschild haschild }, {GrandParent(JOHN)}), modelem K 1 může být např. interpretace I 1 : I1 = Man I1 = Person I1 = {John, Phillipe, Martin} haschild I1 = {(John, Phillipe), (Phillipe, Martin)} GrandParent I1 = {John} JOHN I1 = {John} this model is finite and has the form of a tree with the root in the node Jan : 52 / 157

Shape of DL Models The last example revealed several important properties of DL models: TMP (tree model property), if every satisfiable concept 4 C of the language has a model in the shape of a rooted tree. FMP (finite model property), if every consistent theory K of the language has a finite model. Both properties represent important characteristics of a DL that directly influence inferencing (see next lecture). In particular (generalized) TMP is a characteristics that is shared by most DLs and significantly reduces their computational complexity. 4 Concept is satisfiable, if at least one model interprets it as a non-empty set 53 / 157

Example Example primitive concept defined concept Woman Person Female Man Person Woman Mother Woman haschild Person Father Man haschild Person Parent Father Mother Grandmother Mother haschild Parent MotherWithoutDaughter Mother haschild Woman Wife Woman hashusband Man 54 / 157

Example CWA OWA Example ABOX haschild(jocasta, OEDIPUS) haschild(jocasta, POLYNEIKES) haschild(oedipus, POLYNEIKES) haschild(polyneikes, THERSANDROS) Patricide(OEDIPUS) Patricide(THERSANDROS) Edges represent role assertions of haschild; colors distinguish concepts instances Patricide a Patricide JOCASTA POLYNEIKES THERSANDROS OEDIPUS Q1 ( haschild (Patricide haschild Patricide))(JOCASTA), JOCASTA Q2 Find individuals x such that K = C(x), where C is Patricide haschild (Patricide haschild ) {JOCASTA} What is the difference, when considering CWA? JOCASTA x 55 / 157

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