Enumeration Complexity of Conjunctive Queries with Functional Dependencies
Nofar Carmeli, Markus Kr\"oll

TL;DR
This paper extends the classification of conjunctive queries for answer enumeration to include functional dependencies, identifying which query and dependency combinations allow constant-delay enumeration after linear preprocessing.
Contribution
It generalizes existing dichotomies to account for FDs, providing a comprehensive classification for enumeration complexity in the presence of attribute dependencies.
Findings
Established a generalized dichotomy for enumeration with FDs.
Extended hardness results to cyclic CQs with FDs.
Applied results to classes of cardinality dependencies.
Abstract
We study the complexity of enumerating the answers of Conjunctive Queries (CQs) in the presence of Functional Dependencies (FDs). Our focus is on the ability to list output tuples with a constant delay in between, following a linear-time preprocessing. A known dichotomy classifies the acyclic self-join-free CQs into those that admit such enumeration, and those that do not. However, this classification no longer holds in the common case where the database exhibits dependencies among attributes. That is, some queries that are classified as hard are in fact tractable if dependencies are accounted for. We establish a generalization of the dichotomy to accommodate FDs; hence, our classification determines which combination of a CQ and a set of FDs admits constant-delay enumeration with a linear-time preprocessing. In addition, we generalize a hardness result for cyclic CQs to accommodate a…
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.
