本文研究了空值表和函数依赖表中的一致性查询应答问题。给定这样一个表T,我们考虑可以从T中出现的常数建立的所有元组的集合元组,并且我们使用元组和函数依赖的集合论语义来以两种正交的方式表征元组的元组:首先是真或假元组,然后是一致或不一致元组。对T发出命令,并在元组中进行评估。在这种情况下,我们考虑一个查询Q:select X from T where Condition over T,并将其一致的答案定义为元组x在元组中的集合,使得:x是一个与模式X真实一致的元组,并且在元组中存在一个x的真实超元组t满足条件。我们表明,根据超元组t在元组中的地位,Q有不同类型的一致答案。本文的主要贡献是:(a)提出了一种新的不使用表修复的一致性查询应答方法,(b)提出了计算元组的真-假元组集和一致-不一致元组集的多项式算法,(c)提出了计算合取查询和析取查询的不同类型的一致性应答的T型多项式算法,(d)提出了一种新的不使用表修复的一致性查询应答方法,(e)提出了一种新的计算元组的真-假元组集和一致-不一致元组集的多项式算法。以及(d)详细讨论我们的方法与使用表修复的方法之间的差异。
英文摘要:
In this paper, we study consistent query answering in tables with nulls and functional dependencies. Given such a table T, we consider the set Tuples of all tuples that can be built up from constants appearing in T, and we use set theoretic semantics for tuples and functional dependencies to characterize the tuples of Tuples in two orthogonal ways: first as true or false tuples, and then as consistent or inconsistent tuples. Queries are issued against T and evaluated in Tuples. In this setting, we consider a query Q: select X from T where Condition over T and define its consistent answer to be the set of tuples x in Tuples such that: x is a true and consistent tuple with schema X and there exists a true super-tuple t of x in Tuples satisfying the condition. We show that, depending on the status that the super-tuple t has in Tuples, there are different types of consistent answer to Q. The main contributions of the paper are: (a) a novel approach to consistent query answering not using table repairs; (b) polynomial algorithms for computing the sets of true-false tuples and the sets of consistent-inconsistent tuples of Tuples; (c) polynomial algorithms in the size of T for computing different types of consistent answer for both conjunctive and disjunctive queries; and (d) a detailed discussion of the differences between our approach and the approaches using table repairs.
操作一致性查询应答(CQA)是CQA的一个新框架,基于修正的修复和一致性答案的定义,它开辟了具有显式错误保证的有效近似的可能性。主要思想是迭代地应用操作(例如,事实删除),从不一致的数据库开始,直到我们到达相对于. r. t.给定的一组约束。这使我们可以灵活地选择应用操作的概率,这反过来又使我们能够计算操作修复的概率,从而计算得出一致答案的概率。为操作分配概率的一种自然方式是通过在合理的空间上以均匀概率分布为目标,例如操作修复集合、导致操作修复的操作序列集合以及修复过程的某个步骤处的可用操作集合。这导致了我们通常所说的统一操作CQA。这项工作的目标是执行精确和近似统一的操作CQA的数据复杂性分析,重点是函数依赖关系(及其子类),和合取查询。我们分析的主要结果(以及其他积极和消极的结果)是,统一操作CQA通过确保在超出主键的简单情况下存在有效的近似方案,进一步推动了效率边界,这似乎是CQA的经典方法的限制。