arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1208.0078cs.DB
收藏

基于概率XML视图的并行计算:复杂性和可处理性

Answering Queries using Views over Probabilistic XML: Complexity and Tractability

Bogdan Cautis, Evgeny Kharlamov

摘要:

我们研究的复杂性,查询回答使用视图的概率XML设置,确定大类的查询-子和后代导航和谓词-有效率(PTime)算法。我们认为这个问题下的两种可能的语义XML查询结果:持久的节点标识符,并在他们的缺席。因此,我们考虑重写,可以利用一个单一的视图,通过补偿,和重写,可以使用多个视图,通过交叉。由于在概率设置中,查询返回具有概率的答案,因此重写的问题超出了从视图中检索XML答案的经典问题。对于这两种语义的XML查询,我们表明,即使XML的答案可以从视图中检索,其概率可能是不可计算的。对于只使用补偿的重写,我们描述了一个PTime决策过程,基于易于验证的标准,区分可行的情况下-当概率XML结果是可计算的-和不可行的。对于重写,可以使用多个视图,补偿和交叉,我们确定最宽容的条件,使概率重写可行,我们描述了一个算法,这是健全的一般情况下,并成为完整的相当宽容的限制下,运行在PTime模最坏情况下的指数时间等价性测试。这是我们所能期望的最好结果,因为交集使得查询等价已经在确定性数据上变得棘手。我们的算法运行在PTime只要确定性重写可以在PTime中找到。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑