Guarded-Based Disjunctive Tuple-Generating Dependencies
Authors:
Open Access
- 2 November 2016
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 41 (4) , 1-45
Abstract
We perform an in-depth complexity analysis of query answering under guarded-based classes of disjunctive tuple-generating dependencies (DTGDs), focusing on (unions of) conjunctive queries ((U)CQs). We show that the problem under investigation is very hard, namely 2E xp T ime -complete, even for fixed sets of dependencies of a very restricted form. This is a surprising lower bound that demonstrates the enormous impact of disjunction on query answering under guarded-based tuple-generating dependencies, and also reveals the source of complexity for expressive logics such as the guarded fragment of first-order logic. We then proceed to investigate whether prominent subclasses of (U)CQs (i.e., queries of bounded treewidth and hypertree-width, and acyclic queries) have a positive impact on the complexity of the problem under consideration. We show that queries of bounded treewidth and bounded hypertree-width do not reduce the complexity of our problem, even if we focus on predicates of bounded arity or on fixed sets of DTGDs. Regarding acyclic queries, although the problem remains 2E xp T ime -complete in general, in some relevant settings the complexity reduces to E xp T ime -complete. Finally, with the aim of identifying tractable cases, we focus our attention on atomic queries. We show that atomic queries do not make the query answering problem easier under classes of guarded-based DTGDs that allow more than one atom to occur in the body of the dependencies. However, the complexity significantly decreases in the case of dependencies that can have only one atom in the body. In particular, we obtain a P time -completeness if we focus on predicates of bounded arity, and AC 0 -membership when the set of dependencies and the query are fixed. Interestingly, our results can be used as a generic tool for establishing complexity results for query answering under various description logics.Keywords
Funding Information
- Austrian Academy of Sciences under a DOC Fellowship
- CPER Nord-Pas de Calais/FEDER DATA Advanced Data Science and Technologies (2015-2020)
- ANR Aggreg Project (ANR-14-CE25-0017)
- Vienna University of Technology
- Italian Ministry of University and Research (PON03PE_00001_1)
- Austrian Science Fund (Y698 and P25207-N23)
- INRIA Northern European Associate Team Integrated Linked Data
- Italian Ministry of Economic Development (F/020016/01-02/X27)
- Vienna Science and Technology Fund (ICT12-015)
This publication has 33 references indexed in Scilit:
- Disjunctive datalog with existential quantifiers: Semantics, decidability, and complexity issuesTheory and Practice of Logic Programming, 2012
- Conjunctive query answering in the description logic using knotsJournal of Computer and System Sciences, 2012
- On rules with existential variables: Walking the decidability lineArtificial Intelligence, 2011
- Quasi-inverses of schema mappingsACM Transactions on Database Systems, 2008
- Inverting schema mappingsACM Transactions on Database Systems, 2007
- Hypertree Decompositions and Tractable QueriesJournal of Computer and System Sciences, 2002
- On the Restraining Power of GuardsThe Journal of Symbolic Logic, 1999
- The monadic second-order logic of graphs, II: Infinite graphs of bounded widthTheory of Computing Systems, 1988
- Testing containment of conjunctive queries under functional and inclusion dependenciesJournal of Computer and System Sciences, 1984
- Inclusion dependencies and their interaction with functional dependenciesJournal of Computer and System Sciences, 1984