Taming the Infinite Chase: Query Answering under Expressive Integrity Constraints
arXiv:1212.3357 · doi:10.1613/jair.3873
Abstract
The chase algorithm is a fundamental tool for query evaluation and query containment under constraints, where the constraints are (sub-classes of) tuple-generating dependencies (TGDs) and equality generating depencies (EGDs). So far, most of the research on this topic has focused on cases where the chase procedure terminates, with some notable exceptions. In this paper we take a general approach, and we propose large classes of TGDs under which the chase does not always terminate. Our languages, in particular, are inspired by guarded logic: we show that by enforcing syntactic properties on the form of the TGDs, we are able to ensure decidability of the problem of answering conjunctive queries despite the non-terminating chase. We provide tight complexity bounds for the problem of conjunctive query evaluation for several classes of TGDs. We then introduce EGDs, and provide a condition under which EGDs do not interact with TGDs, and therefore do not take part in query answering. We show applications of our classes of constraints to the problem of answering conjunctive queries under F-Logic Lite, a recently introduced ontology language, and under prominent tractable Description Logics languages. All the results in this paper immediately extend to the problem of conjunctive query containment.
Pre-print
References in corpus (1)
Cited by in corpus (19)
- From Knowledge Graph Embedding to Ontology Embedding? An Analysis of the Compatibility between Vector Space Representations and Rules
- Dichotomies in Ontology-Mediated Querying with the Guarded Fragment
- Ontological Queries: Rewriting and Optimization (Extended Version)
- When Can We Answer Queries Using Result-Bounded Data Interfaces?
- Functional Dependencies Unleashed for Scalable Data Exchange
- Reasoning about disclosure in data integration in the presence of source constraints
- The Dichotomy of Evaluating Homomorphism-Closed Queries on Probabilistic Graphs
- A Framework for Combining Entity Resolution and Query Answering in Knowledge Bases
- Answer Counting under Guarded TGDs
- Model-theoretic Characterizations of Existential Rule Languages
- Worst-case Optimal Query Answering for Greedy Sets of Existential Rules and Their Subclasses
- Decision Procedures for Guarded Logics
- How to Approximate Ontology-Mediated Queries
- QDEF and Its Approximations in OBDM
- Querying Guarded Fragments via Resolution
- First-Order Rewritability of Frontier-Guarded Ontology-Mediated Queries
- Deciding the Loosely Guarded Fragment and Querying Its Horn Fragment Using Resolution
- Harmless but Useful: Beyond Separable Equality Constraints in Datalog+/-
- Tighter Bounds for Query Answering with Guarded TGDs