Description Logic: A Formal Foundation for Languages and Tools

Slides:



Advertisements
Similar presentations
Hybrid Logics and Ontology Languages
Advertisements

Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
1 First order theories (Chapter 1, Sections 1.4 – 1.5)
Description Logic Based Ontology Languages Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
Three Theses of Representation in the Semantic Web
Query Answering based on Standard and Extended Modal Logic Evgeny Zolin The University of Manchester
Modal Logic with Variable Modalities & its Applications to Querying Knowledge Bases Evgeny Zolin The University of Manchester
CS848: Topics in Databases: Foundations of Query Optimization Topics covered  Introduction to description logic: Single column QL  The ALC family of.
Knowledge Representation and Reasoning using Description Logic Presenter Shamima Mithun.
Query Answering for OWL-DL with Rules Boris Motik Ulrike Sattler Rudi Studer.
An Introduction to Description Logics
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
Knowledge Representation Methods
Combining the strengths of UMIST and The Victoria University of Manchester A Tableaux Decision Procedure for SHOIQ Ian Horrocks and Ulrike Sattler University.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Knowledge Representation using First-Order Logic (Part II) Reading: Chapter 8, First lecture slides read: Second lecture slides read:
Description Logics. Outline Knowledge Representation Knowledge Representation Ontology Language Ontology Language Description Logics Description Logics.
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
Basics of Reasoning in Description Logics
FiRE Fuzzy Reasoning Engine Nikolaos Simou National Technical University of Athens.
Description Logics Franz Baader, Ian Horrocks, Ulrike Sattler Presented By Jahan Ara Arju Muhammad Nazmus Sakib CSCE
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
A Logic for Decidable Reasoning about Services Yilan Gu Dept. of Computer Science University of Toronto Mikhail Soutchanski Dept. of Computer Science Ryerson.
Tableau Algorithm.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
An Introduction to Description Logics (chapter 2 of DLHB)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
1 How to decide Query Containment under Constraints using a Description Logic Ian Horrocks, Ulrike Sattler, Sergio Tessaris, and Stephan Tobies presented.
LDK R Logics for Data and Knowledge Representation Description Logics (ALC)
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
Bertram Ludäscher Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
1 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
ece 627 intelligent web: ontology and beyond
CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2011 Adina Magda Florea
Of 29 lecture 15: description logic - introduction.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ontology Technology applied to Catalogues Paul Kopp.
Knowledge Representation and Inference Dr Nicholas Gibbins 32/3019.
Artificial Intelligence Logical Agents Chapter 7.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 16 Description Logic.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Propositional Logic: Logical Agents (Part I)
Quick Course Overview Quick review of logic and computational problems
Chapter 7. Propositional and Predicate Logic
Logics for Data and Knowledge Representation
Description Logic Reasoning
Lecture 17 Description Logics
Knowledge Representation Part II Description Logic & Introduction to Protégé Jan Pettersen Nytun.
Description Logics.
ece 720 intelligent web: ontology and beyond
Logics for Data and Knowledge Representation
Chapter 3 RDF and RDFS Semantics
Chapter 7. Propositional and Predicate Logic
Knowledge Representation I (Propositional Logic)
Description Logics.
Logics for Data and Knowledge Representation
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Representations & Reasoning Systems (RRS) (2.2)
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Logical Agents Prof. Dr. Widodo Budiharto 2018
Presentation transcript:

Description Logic: A Formal Foundation for Languages and Tools Ian Horrocks <ian.horrocks@comlab.ox.ac.uk> Information Systems Group Oxford University Computing Laboratory

Contents Description Logic Basics Syntax and semantics Description Logics and Ontology Languages OWL ontology language Ontology -v- Database Description Logic Reasoning Reasoning services Reasoning techniques Recent and Future work

DL Basics

What Are Description Logics?

What Are Description Logics? Decidable fragments of First Order Logic Thank you for listening Any questions?

What Are Description Logics? A family of logic based Knowledge Representation formalisms Originally descended from semantic networks and KL-ONE Describe domain in terms of concepts (aka classes), roles (aka properties, relationships) and individuals Problems with weak semantics include: confusion and/or lack of clarity w.r.t. what is being stated Consequent loss of interoperability Difficult or impossible to develop correct and interoperable software (lack of precise specification) Cat Animal IS-A has-color Black Felix Mat sits-on [Quillian, 1967]

What Are Description Logics? Modern DLs (after Baader et al) distinguished by: Fully fledged logics with formal semantics Decidable fragments of FOL (often contained in C2) Closely related to Propositional Modal & Dynamic Logics Closely related to Guarded Fragment Provision of inference services Practical decision procedures (algorithms) for key problems (satisfiability, subsumption, etc) Implemented systems (highly optimised)

and now: A Word from our Sponsors

Crash Course in (simplified) FOL Syntax Non-logical symbols (signature) Constants: Felix, MyMat Predicates(arity): Animal(1), Cat(1), has-color(2), sits-on(2) Logical symbols: Variables: x, y Operators: Æ, Ç, !, :, … Quantifiers: 9, 8 Equality: = Formulas: Formulae with only constants called GROUND, with no free variables called a SENTENCE

Crash Course in (simplified) FOL Semantics

Crash Course in (simplified) FOL Semantics Why should I care about semantics? -- In fact I heard that a little goes a long way!

Crash Course in (simplified) FOL Semantics Why should I care about semantics? -- In fact I heard that a little goes a long way! Well, from a philosophical POV, we need to specify the relationship between statements in the logic and the existential phenomena they describe.

Crash Course in (simplified) FOL Semantics Why should I care about semantics? -- In fact I heard that a little goes a long way! Well, from a philosophical POV, we need to specify the relationship between statements in the logic and the existential phenomena they describe. That’s OK, but I don’t get paid for philosophy.

Crash Course in (simplified) FOL Semantics Why should I care about semantics? -- In fact I heard that a little goes a long way! Well, from a philosophical POV, we need to specify the relationship between statements in the logic and the existential phenomena they describe. That’s OK, but I don’t get paid for philosophy. From a practical POV, we need to define relationships (like entailment) between logical statements -- without such a definition we can’t spec software such as a reasoner.

Crash Course in (simplified) FOL Semantics In FOL we define the semantics in terms of models (a model theory). A model is supposed to be an analogue of (part of) the world being modeled. FOL uses a very simple kind of model, in which “objects” in the world (not necessarily physical objects) are modeled as elements of a set, and relationships between objects are modeled as sets of tuples.

Crash Course in (simplified) FOL Semantics In FOL we define the semantics in terms of models (a model theory). A model is supposed to be an analogue of (part of) the world being modeled. FOL uses a very simple kind of model, in which “objects” in the world (not necessarily physical objects) are modeled as elements of a set, and relationships between objects are modeled as sets of tuples. Note that this is exactly the same kind of model as used in a database: objects in the world are modeled as values (elements) and relationships as tables (sets of tuples).

Crash Course in (simplified) FOL Semantics Model: a pair with D a non-empty set and ¢I an interpretation E.g.,

Crash Course in (simplified) FOL Semantics Evaluation: truth value in a given model M = E.g., true false true true true

Crash Course in (simplified) FOL Semantics Evaluation: truth value in a given model M = E.g., true false false true true

Crash Course in (simplified) FOL Semantics Given a model M and a formula F, M is a model of F (written M ² F) iff F evaluates to true in M A formula F is satisfiable iff there exists a model M s.t. M ² F A formula F entails another formula G (written F ² G) iff every model of F is also a model of G (i.e., M ² F implies M ² G) E.g.,

Crash Course in (simplified) FOL Semantics Given a model M and a formula F, M is a model of F (written M ² F) iff F evaluates to true in M A formula F is satisfiable iff there exists a model M s.t. M ² F A formula F entails another formula G (written F ² G) iff every model of F is also a model of G (i.e., M ² F implies M ² G) E.g.,

Decidable Fragments FOL (satisfiability) well known to be undecidable A sound, complete and terminating algorithm is impossible Interesting decidable fragments include, e.g., C2: FOL with 2 variables and Counting quantifiers Counting quantifiers abbreviate pairwise (in-) equalities, e.g.: equivalent to Propositional modal and description logics Guarded fragment

Back to our Scheduled Program

DL Syntax Signature Concept (aka class) names, e.g., Cat, Animal, Doctor Equivalent to FOL unary predicates Role (aka property) names, e.g., sits-on, hasParent, loves Equivalent to FOL binary predicates Individual names, e.g., Felix, John, Mary, Boston, Italy Equivalent to FOL constants

DL Syntax Operators Many kinds available, e.g., Standard FOL Boolean operators (u, t, :) Restricted form of quantifiers (9, 8) Counting (¸, ·, =) …

DL Syntax Concept expressions, e.g., Doctor t Lawyer Rich u Happy Cat u 9sits-on.Mat Equivalent to FOL formulae with one free variable

DL Syntax Special concepts used as abbreviations for > (aka top, Thing, most general concept) ? (aka bottom, Nothing, inconsistent concept) used as abbreviations for (A t : A) for any concept A (A u : A) for any concept A

DL Syntax Role expressions, e.g., hasParent ± hasBrother Equivalent to FOL formulae with two free variables

DL Syntax “Schema” Axioms, e.g., Rich v :Poor (concept inclusion) Cat u 9sits-on.Mat v Happy (concept inclusion) BlackCat ´ Cat u 9hasColour.Black (concept equivalence) sits-on v touches (role inclusion) Trans(part-of) (transitivity) Equivalent to (particular form of) FOL sentence, e.g., 8x.(Rich(x) ! :Poor(x)) 8x.(Cat(x) Æ 9y.(sits-on(x,y) Æ Mat(y)) ! Happy(x)) 8x.(BlackCat(x) $ (Cat(x) Æ 9y.(hasColour(x,y) Æ Black(y))) 8x,y.(sits-on(x,y) ! touches(x,y)) 8x,y,z.((sits-on(x,y) Æ sits-on(y,z)) ! sits-on(x,z))

DL Syntax “Data” Axioms (aka Assertions or Facts), e.g., BlackCat(Felix) (concept assertion) Mat(Mat1) (concept assertion) Sits-on(Felix,Mat1) (role assertion) Directly equivalent to FOL “ground facts” Formulae with no variables

DL Syntax A set of axioms is called a TBox, e.g.: {Doctor v Person, Parent ´ Person u 9hasChild.Person, HappyParent ´ Parent u 8hasChild.(Doctor t 9hasChild.Doctor)} A set of facts is called an ABox, e.g.: {HappyParent(John), hasChild(John,Mary)} A Knowledge Base (KB) is just a TBox plus an Abox Often written K = hT, Ai Note Facts sometimes written John:HappyParent, John hasChild Mary, hJohn,Maryi:hasChild

The DL Family Many different DLs, often with “strange” names E.g., EL, ALC, SHIQ Particular DL defined by: Concept operators (u, t, :, 9, 8, etc.) Role operators (-, ±, etc.) Concept axioms (v, ´, etc.) Role axioms (v, Trans, etc.)

The DL Family E.g., EL is a well known “sub-Boolean” DL E.g.: Concept operators: u, :, 9 No role operators (only atomic roles) Concept axioms: v, ´ No role axioms E.g.: Parent ´ Person u 9hasChild.Person

The DL Family ALC is the smallest propositionally closed DL E.g.: Concept operators: u, t, :, 9, 8 No role operators (only atomic roles) Concept axioms: v, ´ No role axioms E.g.: ProudParent ´ Person u 8hasChild.(Doctor t 9hasChild.Doctor)

The DL Family S used for ALC extended with (role) transitivity axioms Additional letters indicate various extensions, e.g.: H for role hierarchy (e.g., hasDaughter v hasChild) R for role box (e.g., hasParent ± hasBrother v hasUncle) O for nominals/singleton classes (e.g., {Italy}) I for inverse roles (e.g., isChildOf ´ hasChild–) N for number restrictions (e.g., >2hasChild, 63hasChild) Q for qualified number restrictions (e.g., >2hasChild.Doctor) F for functional number restrictions (e.g., 61hasMother) E.g., SHIQ = S + role hierarchy + inverse roles + QNRs

The DL Family Numerous other extensions have been investigated Concrete domains (numbers, strings, etc) DL-safe rules (Datalog-like rules) Fixpoints Role value maps Additional role constructors (Å, [, :, ±, id, …) Nary (i.e., predicates with arity >2) Temporal Fuzzy Probabilistic Non-monotonic Higher-order …

DL Semantics Via translaton to FOL, or directly using FO model theory: Interpretation function I Interpretation domain I Individuals iI 2 I John Mary Concepts CI µ I Lawyer Doctor Vehicle Roles rI µ I £ I hasChild owns

DL Semantics Interpretation function extends to concept expressions in the obvious(ish) way, e.g.:

DL Semantics Given a model M =

DL Semantics Satisfiability and entailment A KB K is satisfiable iff there exists a model M s.t. M ² K A concept C is satisfiable w.r.t. a KB K iff there exists a model M = hD, ¢Ii s.t. M ² K and CI  ; A KB K entails an axiom ax (written K ² ax) iff for every model M of K, M ² ax (i.e., M ² K implies M ² ax)

DL Semantics E.g., K ² John:Person ? K ² Peter:Doctor ? K ² Mary:HappyParent ? What if we add “Mary hasChild Jane” ? K ² Peter = Jane What if we add “HappyPerson ´ Person u 9hasChild.Doctor” ? K ² HappyPerson v Parent T = {Doctor v Person, Parent ´ Person u 9hasChild.Person, HappyParent ´ Parent u 8hasChild.(Doctor t 9hasChild.Doctor)} A = {John:HappyParent, John hasChild Mary, John hasChild Sally, Mary::Doctor, Mary hasChild Peter, Mary:(· 1 hasChild)

DL and FOL Most DLs are subsets of C2 Why use DL instead of C2? But reduction to C2 may be (highly) non-trivial Trans(R) naively reduces to Why use DL instead of C2? Syntax is succinct and convenient for KR applications Syntactic conformance guarantees being inside C2 Even if reduction to C2 is non-obvious Different combinations of constructors can be selected To guarantee decidability To reduce complexity DL research has mapped out the decidability/complexity landscape in great detail See Evgeny Zolin’s DL Complexity Analyzer http://www.cs.man.ac.uk/~ezolin/dl/

Complexity Measures Taxonomic complexity Data complexity Measured w.r.t. total size of “schema” axioms Data complexity Measured w.r.t. total size of “data” facts Query complexity Measured w.r.t. size of query Combined complexity Measured w.r.t. total size of KB (plus query if appropriate)