We study the complexity of query answering using views in a probabilistic XML setting, identifying large classes of XPath queries -- with child and descendant navigation and predicates -- for which there are efficient (PTime) algorithms. We consider this problem under the two possible semantics for XML query results: with persistent node identifiers and in their absence. Accordingly, we consider rewritings that can exploit a single view, by means of compensation, and rewritings that can use multiple views, by means of intersection. Since in a probabilistic setting queries return answers with probabilities, the problem of rewriting goes beyond the classic one of retrieving XML answers from views. For both semantics of XML queries, we show that, even when XML answers can be retrieved from views, their probabilities may not be computable. For rewritings that use only compensation, we describe a PTime decision procedure, based on easily verifiable criteria that distinguish between the feasible cases -- when probabilistic XML results are computable -- and the unfeasible ones. For rewritings that can use multiple views, with compensation and intersection, we identify the most permissive conditions that make probabilistic rewriting feasible, and we describe an algorithm that is sound in general, and becomes complete under fairly permissive restrictions, running in PTime modulo worst-case exponential time equivalence tests. This is the best we can hope for since intersection makes query equivalence intractable already over deterministic data. Our algorithm runs in PTime whenever deterministic rewritings can be found in PTime.
INRIA(法国国家信息与自动化研究所);LIFL (CNRS UMR8022)(里尔基础信息实验室(法国国家科学研究中心 UMR8022));University of Lille(里尔大学);Institute of Computer Science(计算机科学研究所);University of Wrocław(弗罗茨瓦夫大学)
Technical University of Munich(慕尼黑工业大学);Univ. Artois, CNRS, UMR 8188, Centre de Recherche en Informatique de Lens (CRIL)(阿图瓦大学,法国国家科学研究中心,联合研究实验室8188,伦斯信息中心);University of Warsaw(华沙大学);CRIStAL, Université de Lille, INRIA(CRIStAL实验室,里尔大学,法国国家数字科学与创新研究所)
Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results
Laboratoire de Recherche en Informatique, CNRS & Université Paris-Sud(法国国家科学研究中心与巴黎南大学计算机研究实验室);Institute for Information Transmission Problems & MIPT(信息传输问题研究所与莫斯科物理技术学院);Steklov Mathematical Institute & National Research University Higher School of Economics(斯捷克洛夫数学研究所与高等经济大学)
Expected Shapley-Like Scores of Boolean Functions: Complexity and Applications to Probabilistic Databases
National University of Singapore(新加坡国立大学);Inria(法国国家信息与自动化研究所);Université de Lille(里尔大学);PSL University(巴黎文理研究大学);CNRS(法国国家科学研究中心);IUF(法国大学研究院);IPAL(IPAL研究所)