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, establishing dichotomies, restrictions, and approximation results for various query types.
Contribution
It provides a detailed complexity classification for counting problems in incomplete databases, including dichotomies, restrictions, and approximation schemes, advancing understanding of their computational boundaries.
Findings
Counting valuations is always in #P.
Counting completions can be harder than counting valuations.
Restrictions like null uniqueness reduce complexity.
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 or 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.…
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.
