Model Counting for Conjunctive Queries Without Self-Joins

08/19/2019
by   Antoine Amarilli, et al.
0

We study the problem of model counting for Boolean Conjunctive Queries (CQs): given a database, how many of its subsets satisfy the CQ? This problem is computationally equivalent to the evaluation of a CQ over a tuple-independent probabilistic database (i.e., determining the probability of satisfying the CQ) when the probability of every tuple is 1/2. In particular, it follows from the work of Dalvi and Suciu that this problem is solvable in polynomial time (data complexity) for every hierarchical CQ without self-joins. However, while probabilistic query evaluation is intractable for non-hierarchical CQs, it has been open whether this hardness applies already for model counting. We prove that, indeed, model counting is #P-complete for every non-hierarchical CQ without self-joins. Hence, we establish that the dichotomy in the complexity probabilistic query evaluation also holds for model counting.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/03/2020

A Dichotomy for the Generalized Model Counting Problem for Unions of Conjunctive Queries

We study the generalized model counting problem, defined as follows: giv...
research
06/25/2023

From Shapley Value to Model Counting and Back

In this paper we investigate the problem of quantifying the contribution...
research
09/22/2022

Uniform Reliability for Unbounded Homomorphism-Closed Graph Queries

We study the uniform query reliability problem, which asks, for a fixed ...
research
11/12/2020

The Complexity of Counting Problems over Incomplete Databases

We study the complexity of various fundamental counting problems that ar...
research
12/23/2019

Counting Problems over Incomplete Databases

We study the complexity of various fundamental counting problems that ar...
research
09/28/2017

Answering UCQs under updates and in the presence of integrity constraints

We investigate the query evaluation problem for fixed queries over fully...
research
12/03/2014

Symmetric Weighted First-Order Model Counting

The FO Model Counting problem (FOMC) is the following: given a sentence ...

Please sign up or login with your details

Forgot password? Click here to reset