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 条
  • [1] On the first-order reducibility of unions of conjunctive queries over inconsistent databases
    Lembo, Domenico
    Rosati, Riccardo
    Ruzzi, Marco
    [J]. CURRENT TRENDS IN DATABASE TECHNOLOGY - EDBT 2006, 2006, 4254 : 358 - 374
  • [2] ENUMERATING ANSWERS TO FIRST-ORDER QUERIES OVER DATABASES OF LOW DEGREE
    Durand, Arnaud
    Schweikardt, Nicole
    Segoufin, Luc
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2022, 18 (02)
  • [3] Enumerating Answers to First-Order Queries over Databases of Low Degree
    Durand, Arnaud
    Schweikardt, Nicole
    Segoufin, Luc
    [J]. PODS'14: PROCEEDINGS OF THE 33RD ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2014, : 121 - 131
  • [4] Certain Conjunctive Query Answering in First-Order Logic
    Wijsen, Jef
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2012, 37 (02):
  • [5] First-order queries on databases embedded in an infinite structure
    Otto, M
    VandenBussche, J
    [J]. INFORMATION PROCESSING LETTERS, 1996, 60 (01) : 37 - 41
  • [6] Incrementally computing ordered answers of acyclic conjunctive queries
    Kimelfeld, Benny
    Sagiv, Yehoshua
    [J]. NEXT GENERATION INFORMATION TECHNOLOGIES AND SYSTEMS, PROCEEDINGS, 2006, 4032 : 141 - 152
  • [7] On First-Order Expressibility of Satisfiability in Submodels
    Saveliev, Denis I.
    [J]. LOGIC, LANGUAGE, INFORMATION, AND COMPUTATION (WOLLIC 2019), 2019, 11541 : 584 - 593
  • [8] Containment of conjunctive queries over databases with null values
    Farre, Carles
    Nutt, Werner
    Teniente, Ernest
    Urpi, Toni
    [J]. DATABASE THEORY - ICDT 2007, PROCEEDINGS, 2006, 4353 : 389 - +
  • [9] Decidability of first-order logic queries over views
    Bailey, J
    Dong, GZ
    [J]. DATABASE THEORY - ICDT'99, 1999, 1540 : 83 - 99
  • [10] First-order queries on finite structures over the reals
    Paredaens, J
    Van den Bussche, J
    Van Gucht, D
    [J]. SIAM JOURNAL ON COMPUTING, 1998, 27 (06) : 1747 - 1763