Using the TBox to Optimise SPARQL Queries Birte Glimm Yevgeny Kazakov Ilianna Kollia and Giorgos Stamou CS 848 Paper Critique Vishnu Prathish.

Slides:



Advertisements
Similar presentations
Auto-Generation of Test Cases for Infinite States Reactive Systems Based on Symbolic Execution and Formula Rewriting Donghuo Chen School of Computer Science.
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
CS848: Topics in Databases: Foundations of Query Optimization Topics covered  Introduction to description logic: Single column QL  The ALC family of.
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.
2005conjunctive-ii1 Query languages II: equivalence & containment (Motivation: rewriting queries using views)  conjunctive queries – CQ’s  Extensions.
DOLAP'04 - Washington DC1 Constructing Search Space for Materialized View Selection Dimiti Theodoratos Wugang Xu New Jersey Institute of Technology.
S-Match: an Algorithm and an Implementation of Semantic Matching Pavel Shvaiko 1 st European Semantic Web Symposium, 11 May 2004, Crete, Greece paper with.
WIMS 2014, June 2-4Thessaloniki, Greece1 Optimized Backward Chaining Reasoning System for a Semantic Web Hui Shi, Kurt Maly, and Steven Zeil Contact:
CPSC 504: Data Management Discussion on Chandra&Merlin 1977 Laks V.S. Lakshmanan Dept. of CS UBC.
TReasoner: System Description Andrei Grigorev Postgraduate student Tyumen State University.
1 Conjunctions of Queries. 2 Conjunctive Queries A conjunctive query is a single Datalog rule with only non-negated atoms in the body. (Note: No negated.
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
High-level Data Access Based on Query Rewritings Ekaterina Stepalina Higher School of Economics.
DL-LITE: TRACTABLE DESCRIPTION LOGICS FOR ONTOLOGIES AUTHORS: DIEGO CALVANESE, GIUSEPPE DE GIACOMO, DOMENICO LEMBO, MAURIZIO LENZERINI, RICCARDO ROSATI.
Efficient Query Evaluation on Probabilistic Databases
Analyzing Minerva1 AUTORI: Antonello Ercoli Alessandro Pezzullo CORSO: Seminari di Ingegneria del SW DOCENTE: Prof. Giuseppe De Giacomo.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
A Probabilistic Framework for Information Integration and Retrieval on the Semantic Web by Livia Predoiu, Heiner Stuckenschmidt Institute of Computer Science,
Approximate Inference Techniques and Their Applications to the Semantic Web Perry Groot IPA Fall days, 26 November 2004.
How can Computer Science contribute to Research Publishing?
Description Logics. Outline Knowledge Representation Knowledge Representation Ontology Language Ontology Language Description Logics Description Logics.
DL systems DL and the Web Ilie Savga
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.
Reasoning the FMA Ontologies with TrOWL Jeff Z. Pan, Yuan Ren, Nophadol Jekjantuk, and Jhonatan Garcia University of Aberdeen, UK ORE2013.
Number Sense Standards Measurement and Geometry Statistics, Data Analysis and Probability CST Math 6 Released Questions Algebra and Functions 0 Questions.
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.
Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
Christopher Re and Dan Suciu University of Washington Efficient Evaluation of HAVING Queries on a Probabilistic Database.
An Introduction to Description Logics (chapter 2 of DLHB)
Unification Algorithm Input: a finite set Σ of simple expressions Output: a mgu for Σ (if Σ is unifiable) 1. Set k = 0 and  0 = . 2. If Σ  k is a singleton,
1 How to decide Query Containment under Constraints using a Description Logic Ian Horrocks, Ulrike Sattler, Sergio Tessaris, and Stephan Tobies presented.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
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.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
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.
32nd International Conference on Very Large Data Bases September , 2006 Seoul, Korea Efficient Detection of Empty Result Queries Gang Luo IBM T.J.
1 Finite Model Theory Lecture 16 L  1  Summary and 0/1 Laws.
1 An infrastructure for context-awareness based on first order logic 송지수 ISI LAB.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
1 Instance Store Database Support for Reasoning over Individuals S Bechhofer, I Horrocks, D Turi. Instance Store - Database Support for Reasoning over.
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.
CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
Chapter 13 Query Optimization Yonsei University 1 st Semester, 2015 Sanghyun Park.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ontology Technology applied to Catalogues Paul Kopp.
Distributed Instance Retrieval over Heterogeneous Ontologies Andrei Tamilin (1,2) & Luciano Serafini (1) (1) ITC-IRST (2) DIT - University of Trento Trento,
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
1 Representing and Reasoning on XML Documents: A Description Logic Approach D. Calvanese, G. D. Giacomo, M. Lenzerini Presented by Daisy Yutao Guo University.
Rule-based Reasoning in Semantic Text Analysis
Logics for Data and Knowledge Representation
ece 720 intelligent web: ontology and beyond
Logics for Data and Knowledge Representation
Small is Again Beautiful in Description Logics
Updating TBoxes in DL-Lite
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Ontology.
A Tutorial Summary of Description Logic and Hybrid Rules
Model Generation Theorem Proving for First-Order Logic Ontologies
Presentation transcript:

Using the TBox to Optimise SPARQL Queries Birte Glimm Yevgeny Kazakov Ilianna Kollia and Giorgos Stamou CS 848 Paper Critique Vishnu Prathish

Preliminaries Description Logic SHIQ Notations: A concept atom is an expression A(x) and a role atom is an expression r(x, y) Concept axiom templates and role axiom templates

Conjunctive Instance and Complex Queries A conjunctive instance query q is a non-empty set of (concept or role) atoms. concept templates - set of SHIQ concepts, where a concept variable can be used in place of a concept name, and a role variable in place of a role name. Axiom templates – – role axiom template where – Concept axiom template has the form with c, d concept templates. A finite set of role axiom templates, concept axiom templates, and (concept or role) atoms is called a complex query Var(q) - set of variables in q. and |Var(q)| is called the arity of q.

Key Contributions An optimization that is applicable to conjunctive instance queries. We show that one can compute an equivalent query qˆ for a given query q by replacing the variables in q with fresh individual names. Then perform realization. Query optimization exploiting the polarity of variable occurrences in the query and the concept and role hierarchies.

Mapping functions and answers to query Mapping function: A mapping function is a certain answer for q if, denotes all the set of certain answers of q

Query Answering Via Approximate Instance retrieval Using approximate reasoning algorithms to answer query Either Sound and incomplete or Incomplete and Sound Rewrite the KB into a simpler logic and run query over it to obtain desired level of approximation

Approximate Instance Retrieval and Query answering algorithms

Example

intersecQans

intersecQans Algorithm

Restricting atoms A query atom restricts restricts a query if, Eg: B(x) in the example explained. To preserve certain answers, we should use restricting atoms that do not change the answers of q. Can be used to prune set of possible answers of query

Query Extension Find a way of computing restricting atoms Based on chase technique in relational database theory Basic Idea: – For a Abox,Query and a bijective function, – Compute(rewrite) an extended ABox and Query (using chase ) – Using approx. inst. retrieval algo., check if any atom of the new query restricts the initial query – Reduce the set of possible answers using query restriction

Polarity Based optimization Choose the next binding to test by traversing the concept hierarchy top down Based on the polarity of concept variable in the query the concept hierarchy can be safely pruned. Can not be used when a variable occurs both positively and negatively

Algorithm to get possible concept variable mapping

Evaluation On custom set of queries based on GALEN (Biomedical KB – SHIF expressivity) FBbt_XP ontology (SHI) Sys Config: Mac OS X Lion machine with a 2.53 GHz Intel Core i7 processor and Java 1.6 allowing 1GB of Java heap space.

Results GALEN Queries

Results FBbt XP Queries

Conclusion A TBOX based optimization of SPARQL queries Equivalent queries which can be exploited to produce reduce the set of mapping for conjunctive queries Polarity based pruning for queries that go beyond conjunctive queries Evaluation which shows that this optimization can reduce key evaluation times upto two orders of magnitude.

Thank you!