Semantic Acyclicity Under Constraints
Pablo Barcelo, Georg Gottlob, Andreas Pieris

TL;DR
This paper explores the concept of semantic acyclicity of conjunctive queries under various database constraints, establishing decidability results and complexity bounds, and highlighting its potential for query optimization.
Contribution
It develops the theory of semantic acyclicity under constraints, identifying decidable classes and complexity results, and analyzing the impact of different dependencies on query equivalence.
Findings
Semantic acyclicity is undecidable with full tgds.
Decidability of semantic acyclicity matches CQ containment complexity for certain tgds.
Evaluating semantically acyclic queries under guarded tgds and FDs is tractable.
Abstract
A conjunctive query (CQ) is semantically acyclic if it is equivalent to an acyclic one. Semantic acyclicity has been studied in the constraint-free case, and deciding whether a query enjoys this property is NP-complete. However, in case the database is subject to constraints such as tuple-generating dependencies (tgds) that can express, e.g., inclusion dependencies, or equality-generating dependencies (egds) that capture, e.g., functional dependencies, a CQ may turn out to be semantically acyclic under the constraints while not semantically acyclic in general. This opens avenues to new query optimization techniques. In this paper we initiate and develop the theory of semantic acyclicity under constraints. More precisely, we study the following natural problem: Given a CQ and a set of constraints, is the query semantically acyclic under the constraints, or, in other words, is the query…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Semantic Web and Ontologies · Logic, Reasoning, and Knowledge
