arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.04134cs.DB
收藏

主键与带计数的合取查询的一致性查询应答

Consistent Query Answering for Primary Keys and Conjunctive Queries with Counting

Aziz Amezian El Khalfioui, Jef Wijsen

AI总结:

本文研究带计数的一致性查询应答,定义新语法类C_parsimony,证明其恰好包含所有允许简约计数的无自连接合取查询,否定了C_forest的完备性。

摘要:

近年来,针对主键和无自连接合取查询的一致性查询应答问题已被深入研究,且目前已被充分理解。本文研究了该问题的一个扩展,即带计数的情况。我们所考虑的查询统计每个值在完整合取查询答案的指定(可能是复合的)列中出现的次数。在数据库修复的背景下,我们采用[Arenas等人,ICDT 2001]的语义,该语义计算这些计数的紧致下界和上界,其中边界在所有修复上取。Ariel Fuxman在其博士论文中定义了一个语法类查询,称为C_forest,对于该查询类,可以通过执行两个一阶查询(一个用于下界,一个用于上界)后跟简单的计数步骤来完成此计算。我们用术语“简约计数”来指代这种计算。一个自然的问题是,C_forest是否包含所有允许简约计数的无自连接合取查询。我们对这个问题给出了否定回答。我们定义了一个新的语法类查询,称为C_parsimony,并证明它包含所有(且仅包含)允许简约计数的无自连接合取查询。

英文摘要:

The problem of consistent query answering for primary keys and self-join-free conjunctive queries has been intensively studied in recent years and is by now well understood. In this paper, we study an extension of this problem with counting. The queries we consider count how many times each value occurs in a designated (possibly composite) column of an answer to a full conjunctive query. In a setting of database repairs, we adopt the semantics of [Arenas et al., ICDT 2001] which computes tight lower and upper bounds on these counts, where the bounds are taken over all repairs. Ariel Fuxman defined in his PhD thesis a syntactic class of queries, called C_forest, for which this computation can be done by executing two first-order queries (one for lower bounds, and one for upper bounds) followed by simple counting steps. We use the term "parsimonious counting" for this computation. A natural question is whether C_forest contains all self-join-free conjunctive queries that admit parsimonious counting. We answer this question negatively. We define a new syntactic class of queries, called C_parsimony, and prove that it contains all (and only) self-join-free conjunctive queries that admit parsimonious counting.

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

↑