Publication | Closed Access
Computing query probability with incidence algebras
48
Citations
16
References
2010
Year
Unknown Venue
EngineeringCombinatorial DesignProbabilistic OntologySafe QueriesDiscrete MathematicsCombinatorial OptimizationStatisticsProbability TheoryComputer ScienceIncidence AlgebrasConjunctive QueriesDatabase TheoryCombinatorial MethodAlgebraic LogicAutomated ReasoningQuery ProbabilityFormal MethodsFirst-order LogicKnowledge CompilationComputability Theory
We describe an algorithm that evaluates queries over probabilistic databases using Mobius' inversion formula in incidence algebras. The queries we consider are unions of conjunctive queries (equivalently: existential, positive First Order sentences), and the probabilistic databases are tuple-independent structures. Our algorithm runs in PTIME on a subset of queries called "safe" queries, and is complete, in the sense that every unsafe query is hard for the class FP#P. The algorithm is very simple and easy to implement in practice, yet it is non-obvious. Mobius' inversion formula, which is in essence inclusion-exclusion, plays a key role for completeness, by allowing the algorithm to compute the probability of some safe queries even when they have some subqueries that are unsafe. We also apply the same lattice-theoretic techniques to analyze an algorithm based on lifted conditioning, and prove that it is incomplete.
| Year | Citations | |
|---|---|---|
Page 1
Page 1