On the First-order Expressibility of Computing Certain Answers to Conjunctive Queries over Uncertain Databases

被引:24
|
作者
Wijsen, Jef [1 ]
机构
[1] Univ Mons, B-7000 Mons, Belgium
关键词
Conjunctive queries; consistent query answering; first-order expressibility; primary keys;
D O I
10.1145/1807085.1807111
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A natural way for capturing uncertainty in the relational data model is by having relations that violate their primary key constraint, that is, relations in which distinct tuples agree on the primary key. A repair (or possible world) of a database is then obtained by selecting a maximal number of tuples without ever selecting two distinct tuples that have the same primary key value. For a Boolean query q, CERTAINTY(q) is the problem that takes as input a database db and asks whether q evaluates to true on every repair of db. We are interested in determining queries q for which CERTAINTY(q) is first-order expressible (and hence in the low complexity class AC(0)). For queries q in the class of conjunctive queries without self-join, we provide a necessary syntactic condition for first-order expressibility of CERTAINTY(q). For acyclic queries (in the sense of [4]), this necessary condition is also a sufficient condition. So we obtain a decision procedure for first-order expressibility of CERTAINTY(q) when q is acyclic and without self-join. We also show that if CERTAINTY(q) is first-order expressible, its first-order definition, commonly called (certain) first-order rewriting, can be constructed in a rather straightforward way.
引用
收藏
页码:179 / 189
页数:11
相关论文
共 50 条