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

在存在非零值的情况下语义正确的查询答案

Semantically Correct Query Answers in the Presence of Null Values

Loreto Bravo, Leopoldo Bertossi

摘要:

由于多种原因,数据库可能不满足给定的完整性约束(IC)集,但很可能其中的大部分信息仍然与这些IC一致;并且可以在回答查询时检索。一致的答案查询wrt的一组IC已被表征为答案,可以从每个可能的最低限度地修复一致的版本的原始数据库中获得。在本文中,我们考虑的数据库,包含空值,也修复,如果必要的话,使用空值。为此,我们首先提出了一个精确的语义IC满意度在一个数据库中的空值,是与空值的方式在商业数据库管理系统中处理兼容。接下来,引入了一个精确的修复概念,它允许在修复外键约束时引入空值,这样这些新值就不会产生新的不一致性的无限循环。最后,我们分析了如何使用具有稳定模型语义的析取逻辑程序来指定这种包含空值的数据库的修复。

英文摘要:

For several reasons a database may not satisfy a given set of integrity constraints(ICs), but most likely most of the information in it is still consistent with those ICs; and could be retrieved when queries are answered. Consistent answers to queries wrt a set of ICs have been characterized as answers that can be obtained from every possible minimally repaired consistent version of the original database. In this paper we consider databases that contain null values and are also repaired, if necessary, using null values. For this purpose, we propose first a precise semantics for IC satisfaction in a database with null values that is compatible with the way null values are treated in commercial database management systems. Next, a precise notion of repair is introduced that privileges the introduction of null values when repairing foreign key constraints, in such a way that these new values do not create an infinite cycle of new inconsistencies. Finally, we analyze how to specify this kind of repairs of a database that contains null values using disjunctive logic programs with stable model semantics.

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

↑