The Complexity of Counting Problems over Incomplete Databases
Marcelo Arenas, Pablo Barcel\'o, Mika\"el Monet

TL;DR
This paper analyzes the computational complexity of counting completions and valuations in incomplete databases with nulls, revealing significant differences in difficulty and approximation possibilities.
Contribution
It establishes complexity dichotomies for counting problems over incomplete databases and compares the complexity of counting completions versus valuations.
Findings
Counting valuations is always in P
Counting completions can be harder than P, possibly outside P
Counting valuations admits an FPRAS, counting completions generally does not
Abstract
We study the complexity of various fundamental counting problems that arise in the context of incomplete databases, i.e., relational databases that can contain unknown values in the form of labeled nulls. Specifically, we assume that the domains of these unknown values are finite and, for a Boolean query , we consider the following two problems: given as input an incomplete database , (a) return the number of completions of that satisfy ; or (b) return the number of valuations of the nulls of yielding a completion that satisfies . We obtain dichotomies between \#P-hardness and polynomial-time computability for these problems when is a self-join-free conjunctive query, and study the impact on the complexity of the following two restrictions: (1) every null occurs at most once in (what is called Codd tables); and (2) the domain of each null is the same. Roughly…
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.
