Paraconsistent logic and query answering in inconsistent databases
C. A. Middelburg
备注:
21 pages; revision of v4, some inaccuracies removed and material streamlined at several places. arXiv admin note: substantial text overlap with arXiv:2303.05264
发表信息:
Journal of Applied Non-Classical Logics 34(1):133-154 (2024)
This paper concerns the paraconsistent logic LPQ$^{\supset,\mathsf{F}}$ and an application of it in the area of relational database theory. The notions of a relational database, a query applicable to a relational database, and a consistent answer to a query with respect to a possibly inconsistent relational database are considered from the perspective of this logic. This perspective enables among other things the definition of a consistent answer to a query with respect to a possibly inconsistent database without resort to database repairs. In a previous paper, LPQ$^{\supset,\mathsf{F}}$ is presented with a sequent-style natural deduction proof system. In this paper, a sequent calculus proof system is presented because it is common to use a sequent calculus proof system as the basis of proof search procedures and such procedures may form the core of algorithms for computing consistent answers to queries.
Consistent Query Answering without Repairs in Tables with Nulls and Functional Dependencies
本文研究了空值表和函数依赖表中的一致性查询应答问题。给定这样一个表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)详细讨论我们的方法与使用表修复的方法之间的差异。
操作一致性查询应答(CQA)是CQA的一个新框架,基于修正的修复和一致性答案的定义,它开辟了具有显式错误保证的有效近似的可能性。主要思想是迭代地应用操作(例如,事实删除),从不一致的数据库开始,直到我们到达相对于. r. t.给定的一组约束。这使我们可以灵活地选择应用操作的概率,这反过来又使我们能够计算操作修复的概率,从而计算得出一致答案的概率。为操作分配概率的一种自然方式是通过在合理的空间上以均匀概率分布为目标,例如操作修复集合、导致操作修复的操作序列集合以及修复过程的某个步骤处的可用操作集合。这导致了我们通常所说的统一操作CQA。这项工作的目标是执行精确和近似统一的操作CQA的数据复杂性分析,重点是函数依赖关系(及其子类),和合取查询。我们分析的主要结果(以及其他积极和消极的结果)是,统一操作CQA通过确保在超出主键的简单情况下存在有效的近似方案,进一步推动了效率边界,这似乎是CQA的经典方法的限制。