Uniform Reliability of Self-Join-Free Conjunctive Queries - Archive ouverte HAL
Article Dans Une Revue Logical Methods in Computer Science Année : 2022

Uniform Reliability of Self-Join-Free Conjunctive Queries

Résumé

The reliability of a Boolean Conjunctive Query (CQ) over a tuple-independent probabilistic database is the probability that the CQ is satisfied when the tuples of the database are sampled one by one, independently, with their associated probability. For queries without self-joins (repeated relation symbols), the data complexity of this problem is fully characterized by a known dichotomy: reliability can be computed in polynomial time for hierarchical queries, and is #P-hard for non-hierarchical queries. Inspired by this dichotomy, we investigate a fundamental counting problem for CQs without self-joins: how many sets of facts from the input database satisfy the query? This is equivalent to the uniform case of the query reliability problem, where the probability of every tuple is required to be 1/2. Of course, for hierarchical queries, uniform reliability is solvable in polynomial time, like the reliability problem. We show that being hierarchical is also necessary for this tractability (under conventional complexity assumptions). In fact, we establish a generalization of the dichotomy that covers every restricted case of reliability in which the probabilities of tuples are determined by their relation.

Dates et versions

hal-03807851 , version 1 (10-10-2022)

Identifiants

Citer

Antoine Amarilli, Benny Kimelfeld. Uniform Reliability of Self-Join-Free Conjunctive Queries. Logical Methods in Computer Science, In press, ⟨10.46298/lmcs-18(4:3)2022⟩. ⟨hal-03807851⟩
53 Consultations
0 Téléchargements

Altmetric

Partager

More