Counting Answers to Unions of Conjunctive Queries: Natural Tractability Criteria and Meta-Complexity
Jacob Focke, Leslie Ann Goldberg, Marc Roth, Stanislav \v{Z}ivn\'y

TL;DR
This paper establishes a natural criterion based on treewidth for determining when counting answers to unions of conjunctive queries is fixed-parameter tractable, simplifying previous complex criteria and providing complexity insights.
Contribution
It introduces a natural tractability criterion based on combined conjunctive queries and their contracts, linked to bounded treewidth, for counting answers to UCQs.
Findings
Fixed-parameter tractability characterized by bounded treewidth of combined queries.
Closure properties are necessary for a natural tractability criterion.
Deciding tractability for a single UCQ is NP-hard for fixed parameters.
Abstract
We study the problem of counting answers to unions of conjunctive queries (UCQs) under structural restrictions on the input query. Concretely, given a class C of UCQs, the problem #UCQ(C) provides as input a UCQ Q in C and a database D and the problem is to compute the number of answers of Q in D. Chen and Mengel [PODS'16] have shown that for any recursively enumerable class C, the problem #UCQ(C) is either fixed-parameter tractable or hard for one of the parameterised complexity classes W[1] or #W[1]. However, their tractability criterion is unwieldy in the sense that, given any concrete class C of UCQs, it is not easy to determine how hard it is to count answers to queries in C. Moreover, given a single specific UCQ Q, it is not easy to determine how hard it is to count answers to Q. In this work, we address the question of finding a natural tractability criterion: The combined…
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
TopicsData Management and Algorithms · Advanced Database Systems and Queries · Logic, Reasoning, and Knowledge
