Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK

Slides:



Advertisements
Similar presentations
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Advertisements

1 First order theories (Chapter 1, Sections 1.4 – 1.5)
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
Transitive Roles in Number Restrictions Yevgeny Kazakov, Ulrike Sattler, 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.
OWL - DL. DL System A knowledge base (KB) comprises two components, the TBox and the ABox The TBox introduces the terminology, i.e., the vocabulary of.
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.
Combining the strengths of UMIST and The Victoria University of Manchester A Tableaux Decision Procedure for SHOIQ Ian Horrocks and Ulrike Sattler University.
1 Conditional XPath, the first order complete XPath dialect Maarten Marx Presented by: Einav Bar-Ner.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Slides 07 1 Restricted -terms and logics Definition (1D1) A -term P is called a I-term iff, for each subterm with the form x  M in P, x occurs free in.
Description Logics. Outline Knowledge Representation Knowledge Representation Ontology Language Ontology Language Description Logics Description Logics.
Search in the semantic domain. Some definitions atomic formula: smallest formula possible (no sub- formulas) literal: atomic formula or negation of an.
Last time Proof-system search ( ` ) Interpretation search ( ² ) Quantifiers Equality Decision procedures Induction Cross-cutting aspectsMain search strategy.
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
LDK R Logics for Data and Knowledge Representation Description Logics as query language.
Deciding a Combination of Theories - Decision Procedure - Changki pswlab Combination of Theories Daniel Kroening, Ofer Strichman Presented by Changki.
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.
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.
Using the TBox to Optimise SPARQL Queries Birte Glimm Yevgeny Kazakov Ilianna Kollia and Giorgos Stamou CS 848 Paper Critique Vishnu Prathish.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
CMPF144 FUNDAMENTALS OF COMPUTING THEORY Module 5: Classical Logic.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
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.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
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)
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
MODAL LOGIC Mathematical Logic and Theorem Proving Pavithra Prabhakar.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
LDK R Logics for Data and Knowledge Representation ClassL (part 2): Reasoning with a TBox 1.
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.
ece 627 intelligent web: ontology and beyond
Set Theory Concepts Set – A collection of “elements” (objects, members) denoted by upper case letters A, B, etc. elements are lower case brackets are used.
Knowledge Repn. & Reasoning Lec #11+13: Frame Systems and Description Logics UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
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.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Knowledge Representation and Inference Dr Nicholas Gibbins 32/3019.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
English for Economic Informatics I Tomáš Foltýnek Theoretical Foundations of Informatics.
1 Representing and Reasoning on XML Documents: A Description Logic Approach D. Calvanese, G. D. Giacomo, M. Lenzerini Presented by Daisy Yutao Guo University.
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
ece 720 intelligent web: ontology and beyond
Formal Modeling Concepts
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Computer Security: Art and Science, 2nd Edition
Logics for Data and Knowledge Representation
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Representations & Reasoning Systems (RRS) (2.2)
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Logics for Data and Knowledge Representation
Presentation transcript:

Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK

2/17 Talk Outline Description Logics, knowledge bases Answering conjunctive queries Modal correspondence theory “From modal logic to query answering” Applications: Transferring Kracht’s Theorem Beyond Kracht’s fragment Adding inverse relations “From query answering back to modal logic”? Conclusions and outlook

3/17 Description Logics A family of knowledge representation formalisms Vocabulary: –concept names A, B, …; –role names R, S, … –individual names a, b, … Syntax for the Description Logic ALC : –concepts are built up from concept names ( A, B, …) using operations  C, C  D, C  D, and  R. C,  R. C [K.Schild,1991] ALC is a notational variant of the multi- modal logic K ( m ) : replace  R i and  R i with ◊ i and □ i

4/17 Description Logics (continued) A knowledge base KB =  T, A  consists of: –T : TBox (“terminology”) contains axioms: C D –A : ABox (“world description”) assertions: a : C, aRb Extensions (indicated by adding letters to logic’s name): Reasoning problems: –KB satisfiability: whether there is a model of a given KB –instance checking and instance retrieval: KB a : C I – inverse roles: R – O – nominals: { a } Q – num.restr.: ( ≥ n R. C ) H – role hierarchy: R S S – transitive roles: Trans( R )

5/17 Query answering A conjunctive query q ( x ) is an expression of the form: q ( x )  (  y ) term 1 ( x, y )  …  term k ( x, y ) where x, y are lists of variables, terms are either z : C or zRz ’ ( z, z’  { x, y }) The answer set of the query q ( x ) w.r.t. a KB: ans( q,KB) := { a  IndNames: KB q ( a ) } No tight complexity bounds for query answering known so far –SHIQ is ExpTime-complete [S.Tobies,2001]. Query answering: 3coNExpTime upper bound, if KB has no transitive roles; 4coNExpTime in general case [Calvanese et al., DL2005]. –SHOIQ is NExpTime-complete, but the decidability of the query answering problem has only recently been established

6/17 A closer look at instance retrieval Consider KB a : C, where the concept C contains fresh concept names ( X, …) not occurring in the KB. The concept  X   R. X “answers” the query q ( x )  xRx The concept  R.  X   S. X “answers” the query q ( x )   y ( xRy  xSy ) all individuals will be retrieved no individuals will be retrieved { a | KB aRa } { a | KB  y ( aRy  aSy ) } KB a : X KB a : (  X  X ) KB a : (  X   R. X ) KB a : (  R.  X   S. X )

7/17 Query answered by a concept Definition. A query q ( x ) is answered by a concept C if, for any KB and a constant a, KB q ( a )  KB a : C The concept  X   R. X answers the query q ( x )  xRx  R.  X   S. X answers the query q ( x )   y ( xRy  xSy ) From modal logic: F ||– p  ◊ p  R is reflexive:  x xRx F, e ||– p  ◊ p  R is reflexive at e : eRe F, e ||– □ R p  ◊ S p   y ( eRy  eSy ) holds in F

8/17 Modal correspondence theory Modal logic K ( m ) :  := p i |  |    | □ i  (Kripke) semantics: – Frame: F =  W, R 1, …, R m , where R i  W 2 – Model: M =  F,v , where a valuation v ( p i )  W A formula  is true at a point e of a model M : M, e  Local validity: F, e ||–  iff M, e  for any M =  F,v  Let  ( x ) be a FO-formula over binary predicates { R 1, …, R m }. Definition.  ( x ) locally corresponds to  if, for any frame F and its point e, F, e ||–   F  ( e ).

9/17 “From modal logic to query answering” Given , denote by C  the corresponding ALC - concept (with variables p i replaced by fresh concept names X i ). Theorem (Reduction) Suppose that q(x) is a relational query (with one free variable);  is a modal formula. Then: if q(x) locally corresponds to   then q(x) is answered by the ALC - concept C  (over any KB)  ?

10/17 Sahlqvist’s and Kracht’s theorems Modal formulas First-order formulas [Sahlqvist,1975] {…  …} {…  ( x ) …} [ Kracht,1993] Family of queries K : For any query of the following shape, there exists a concept that answers it. For a relational query q(x), the resulting concept is in ALC. q ( x )   y (Tree( x, y )   i,j x R  i y j  x R t x   k,l y k R  l x  x : C   s y s : D s ) x

11/17 Queries within Kracht’s fragment xRx X   R. X  y ( xRy  ySx ) X   R.  S. X  y ( xRy  ySx  y : C ) X   R.( C   S. X )  y ( xRy  xSy )  R. Y   S. Y  y ( xRy  xSy  y : C )  R. Y   S.( C  Y )  y ( xR 1 y 1  y 1 R 2 y 2  y 1 R 3 y 3  y 1 R 2 y 2  y 4 R 5 y 5  y 4 R 6 y 6  xS 1 y 1  xS 4 y 6  y 2 S 2 x  y 5 S 3 x ) (  S 1.Y 11   S 4.Y 46  X 22  X 53 )   R 1. ( Y 11   R 2.  S 2.X 22   R 3. T   R 4. (  R 6.Y 46   R 5.  S 3.X 53 )) x R x R y S C x R y S C x

12/17 Beyond Kracht’s fragment Parallel-serial queries (with two poles) x y x y x y q 1 (x) q 2 (x) serial connection ( q 1 o q 2 ) x y x y parallel connection ( q 1 || q 2 ) q(x)   y ( xRy ) Fact: Any parallel-serial relational query q(x) is answered by some concept in ALC ( , o ): R ( q ):= R for atomic q(x) R ( q 1 || q 2 ):= R ( q 1 )  R ( q 2 ) R ( q 1 o q 2 ):= R ( q 1 ) o R ( q 2 ) Then q(x) is answered by the concept  R ( q ). T

13/17 Beyond Kracht’s fragment (continued) Family of queries Z : For any query of the following shape, there exists a concept answering it. If q(x) is relational, then the concept belongs to ALC. y x y x Reversed tree with the root y, whose all leaves merged in x A parallel-serial query, where only atomic q 2 are allowed in ( q 1 o q 2 )

14/17 Adding role inverses Theorem (Family of queries Y ) For any connected query q ( x ) without cycles consisting of bound variables only, there is a concept answering it (and it can be built in linear time). If q(x) is relational, then the resulting concept belongs to the Description Logic ALCI. ( K  Z )  Y x

15/17 From query answering back to modal logic? Theorem (Reduction) q(x) loc. corresponds to   q(x) is answered by C  Lemma If q(x) is answered by a concept C , then for any frame F and its point e, F q ( e )  F, e ||– . Recently: we can replace “  ” with “  ” in the above Lemma for finitely branching frames F. Definition A frame F is finitely branching if, for any its point e and a relation R, the set { d | eRd } is finite.

16/17 From query answering back to modal logic? Validity of a modal formula ≈ closed world assumption Ex.: F =  W,R , where W = { a, b, c, d }, R = {  a,b ,  a,c ,  c,d  }. F, b ||–  ◊T ( b has no R -successors) F, c ||– ◊ p  □ p ( R is functional at the point c ) Entailment from a KB ≈ open world assumption KB=  T, A , TBox T is empty, Abox A = { aRb, aRc, cRd } Then neither KB b :  R.T, nor KB c : (  R. X   R. X ) a c b d

17/17 Conclusions and outlook Relationship between corr. theory and query answering Two families of queries answered by ALC -concepts A larger family of queries answered by ALCI -concepts Questions and further directions: –Does the converse “  ” of the Reduction Theorem hold? –Characterisation of conj. queries answered by concepts? –More expressive queries? (disjunction, equality) –Adding number restrictions? ( ALCQ ≈ Graded ML) –Relations of arbitrary arities? ( DLR ≈ Polyadic ML) Thank you!