A Dichotomy for Homomorphism-Closed Queries on Probabilistic Graphs
A Dichotomy for Homomorphism-Closed Queries on Probabilistic Graphs
复制标题
DOI:
10.4230/lipics.icdt.2020.5
复制
发表时间:
2019-10
期刊:
影响因子:
--
通讯作者:
Antoine Amarilli;I. Ceylan
中科院分区:
文献类型:
--
作者:
Antoine Amarilli;I. Ceylan
We study the problem of probabilistic query evaluation (PQE) over probabilistic graphs, namely, tuple-independent probabilistic databases (TIDs) on signatures of arity two. Our focus is the class of queries that is closed under homomorphisms, or equivalently, the infinite unions of conjunctive queries, denoted UCQ^\infty . Our main result states that all unbounded queries in UCQ^\infty are #P-hard for PQE. As bounded queries in UCQ^\infty are already classified by the dichotomy of Dalvi and Suciu [16], our results and theirs imply a complete dichotomy on PQE for UCQ^\infty queries over arity-two signatures. This dichotomy covers in particular all fragments in UCQ^\infty such as negation-free (disjunctive) Datalog, regular path queries, and a large class of ontology-mediated queries on arity-two signatures. Our result is shown by reducing from counting the valuations of positive partitioned 2-DNF formulae (#PP2DNF) for some queries, or from the source-to-target reliability problem in an undirected graph (#U-ST-CON) for other queries, depending on properties of minimal models.