1 How to decide Query Containment under Constraints using a Description Logic Ian Horrocks, Ulrike Sattler, Sergio Tessaris, and Stephan Tobies presented.

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

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.
Query Answering for OWL-DL with Rules Boris Motik Ulrike Sattler Rudi Studer.
An Introduction to Description Logics
2005conjunctive-ii1 Query languages II: equivalence & containment (Motivation: rewriting queries using views)  conjunctive queries – CQ’s  Extensions.
1. An Overview of Prolog.
TReasoner: System Description Andrei Grigorev Postgraduate student Tyumen State University.
Logic.
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.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
Reducing OWL Entailment to Description Logic Satisfiability Ian Horrocks and Patel Schneider Presented by: Muhammed Al-Muhammed.
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
LDK R Logics for Data and Knowledge Representation Description Logics as query language.
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.
Computing & Information Sciences Kansas State University Wednesday, 08 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 08 October.
CSE-291: Ontologies in Data & Process Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies.
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
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
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.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
Topics in artificial intelligence 1/1 Dr hab. inż. Joanna Józefowska, prof. PP Reasoning and search techniques.
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.
Updating ABoxes in DL-Lite D. Calvanese, E. Kharlamov, W. Nutt, D. Zheleznyakov Free University of Bozen-Bolzano AMW 2010, May 2010.
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.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 6 Binary CSP.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
LDK R Logics for Data and Knowledge Representation ClassL (part 2): Reasoning with a TBox 1.
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
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.
Datalog DL : Datalog Rules Parameterized by Description Logics Jing Mei, Harold Boley, Jie Li, Virendrakumar C. Bhavsar, Zuoquan Lin Canadian Semantic.
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
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Scalable and E ffi cient Reasoning for Enforcing Role-Based Access Control Tyrone Cadenhead Advisors: Murat Kantarcioglu, and.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
1 The Relational Data Model David J. Stucki. Relational Model Concepts 2 Fundamental concept: the relation  The Relational Model represents an entire.
CHAPTER 2 Boolean algebra and Logic gates
LDK R Logics for Data and Knowledge Representation Description Logics.
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
Knowledge and reasoning – second part
Logics for Data and Knowledge Representation
Logical Agents Chapter 7.
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Scalable and Efficient Reasoning for Enforcing Role-Based Access Control
Logics for Data and Knowledge Representation
Knowledge and reasoning – second part
Scalable and Efficient Reasoning for Enforcing Role-Based Access Control
Logics for Data and Knowledge Representation
A Tutorial Summary of Description Logic and Hybrid Rules
Logics for Data and Knowledge Representation
Presentation transcript:

1 How to decide Query Containment under Constraints using a Description Logic Ian Horrocks, Ulrike Sattler, Sergio Tessaris, and Stephan Tobies presented by Axel Polleres

2 Overview A decision Procedure for deciding conjunctive query containment over DLR (a description logic with n-ary relations) with respect to a given DLR Knowledge base. Reduction from Query containment to DLR ABox Satisfiability Reduction from DLR satisfiability to SHIQ satisfiability  FaCT shall be used to solve query containment!

3 The Logic DLR Given a set of concept names NC and relation names NR where each relation has an associated arity n Syntax: Semantics (given an interpretation I, domain Δ ): Note that T n is not necessarily a the set of all tuples of arity n but can only be a subset and the negation of R with arity n is relative to T n.

4 Queries ans(x) :- term 1 (x,y,z), term 2 (x,y,z), …, term n (x,y,z). where x is a set of distinguished variables, y is a set of non-distinguished variables and c is a set of constants, and the term i are atoms of the form C(w) or R(w 1, … w n ) with w i from x,y,z Problem setting: Decide whether a query Q1 is entailed by a query Q2 (with the same x), wrt. to a DLR Schema (i.e. TBox) S

5 DLR Example Schema S (i.e., TBox): (bus_route ⊓ ($1/3:city_bus)) ⊑ city_bus_route city_bus_route ⊑ (bus_route ⊓ ($1/3:city_bus)) "city_bus_routes are the bus_routes where the first argument is a city_bus" Query q1: Query q2: Are obviously equivalent, i.e. q1 is contained in q2 and vice versa wrt. Schema S

6 SHIQ Description Logic with concepts, only binary relations, qualifying number restrictions, transitive roles, inverse roles and role inclusion… Syntax:, R - Semantics (wrt. Interpretation I, domain Δ ):

7 How to proceed? Step: Transforming Query containment into ABox inclusion Step 2: Transforming ABox inclusion into ABox Satisfiability Step 3: Transforming DLR satisfiability to SHIQ satisfiability

8 Transforming Query containment into ABox inclusion Given two DLR ABoxes A, A', and a DLR schema S we write: " A is included in A' wrt. S " iff every model of can be extended to A'. We want to achieve a transformation Q1  A, Q2  A' such that Query containmaint is reduced to ABox inclusion.

9 Transforming Query containment into ABox inclusion canonical ABox and completed canonical Abox for a query: We get (Theorem): Remark: ensures that different constants in q cannot have the same interpretation (i.e., UNA?)

10 Transforming ABox inclusion into ABox Satisfiability If the completed canonical Abox of q2 would only consist of membership assertions of concepts, it would be easy i.e. checking would amount to checking for all in that: i.e is unsatisfiable. However, (remember slide 3) negation is "weakly" defined by T n for relations, so we can't do this for the in  Solution: collapse the into concepts!

11 Collapsing into a set of concept assertions: Step A: Collapse all w:C, w:D and (w:R, w:S, resp.) such that there is only a single concept per tuple, i.e. {w:X, w:Y}  {w:(X ⊓ Y)}. Step B: Collapse w i :C into (w 1,… w i,…, w n ):R {w i :C, (w 1,… w i,…, w n ):R}  {(w 1,… w i,…, w n ) : (R ⊓ $i:C)} Step C: Collapse each remaining w:R into a concept: {(w 1,… w i,…, w n ):R}  {w i : (  [$i](R ⊓ ⊓ ($j/n:Pwj)) Choose a feasible traversal of the query graph, such that with each w i :C from Step C we can go back to Step B, apply recursively. Finally, having collapsed we can decide the containment using KB satisfiability in DLR 1≤j≤n,j≠i

12 Our Example: Remaining problem: cycles! The placeholders for non-distinguished variables (P z2 and P z1 ) have to be replaced! Why? If a non-distinguished variable occurs only once, then this can be safely replcaced by T But: in any other case (occuring from a cycle in the query) any P w from A 1 has to be tested. E.g. here, P z2 can be replaced by T, but for P z1 unsatisfiability has to be tested for any of P n, P y1, P y2

13 Transforming DLR Satisfiability into SHIQ Satisfiability By reification of each distinct n-ary tuple in the DLR ABox A Introduce decicated functional relations f 1, f 2, … f n which link to the elements of every tuple. (Skipped the technical details of the translation here, datails to be found in the paper).

14 Conclusions, Open Questions This is basically conjunctive Query containment plus DLR. Decidability has already been shown erlier, by [Calvanese, DeGiacomo, Lenzerini, 1998] The paper shows how DL-reasoners (for SHIQ) can be used for this, solving the problem in EXPTime – cheaper for acyclic queries! – Feasible if number of cycles/number of variables+constants in Q1 is small. Due to limited/slow ABox-reasoning in FaCT, FaCT is not generally usable. In principle nice, can possibly be similarly implemented using a prolog system?

15 Usable for WSML If we stay within SHIQ, and only allow conjunctive (non-recursive) queries, yes. Otherwise, not so easy...