arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0809.1551cs.DB
收藏

存在普遍约束时的一致查询答案

Consistent Query Answers in the Presence of Universal Constraints

Slawomir Staworko, Jan Chomicki

摘要:

一致性查询答案和修复的框架已经被引入,以减轻不一致的数据对查询答案的影响。修复是一个最小差异的一致实例,如果答案存在于每个修复中,则答案是一致的。在这篇文章中,我们研究的复杂性一致的查询答案和修复检查存在的普遍约束。我们提出了一个扩展版本的冲突超图,它允许捕捉所有的维修w.r.t.一组普遍的约束。我们表明,修复检查是在PTIME类的全元组生成依赖关系和拒绝约束,我们提出了一个多项式修复算法。该算法是合理的,即总是产生修复,但也是完整的,即每个修复都可以构建。接下来,我们提出了一个多项式时间算法计算一致的答案,地面量化器无查询存在的拒绝约束,连接依赖,和非循环的全元组生成依赖。最后,我们表明,扩展类的约束导致棘手。对于任意完整的元组生成依赖关系,一致的查询应答成为coNP完全的。对于任意泛约束,一致查询回答是n_2^p-完全的,修复检查是coNP-完全的.

英文摘要:

The framework of consistent query answers and repairs has been introduced to alleviate the impact of inconsistent data on the answers to a query. A repair is a minimally different consistent instance and an answer is consistent if it is present in every repair. In this article we study the complexity of consistent query answers and repair checking in the presence of universal constraints. We propose an extended version of the conflict hypergraph which allows to capture all repairs w.r.t. a set of universal constraints. We show that repair checking is in PTIME for the class of full tuple-generating dependencies and denial constraints, and we present a polynomial repair algorithm. This algorithm is sound, i.e. always produces a repair, but also complete, i.e. every repair can be constructed. Next, we present a polynomial-time algorithm computing consistent answers to ground quantifier-free queries in the presence of denial constraints, join dependencies, and acyclic full-tuple generating dependencies. Finally, we show that extending the class of constraints leads to intractability. For arbitrary full tuple-generating dependencies consistent query answering becomes coNP-complete. For arbitrary universal constraints consistent query answering is Π_2^p-complete and repair checking coNP-complete.

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

↑