Certain Query Answering in Partially Consistent Databases

被引:6
作者
Greco, Sergio [1 ]
Pijcke, Fabian [2 ]
Wijsen, Jef [2 ]
机构
[1] Univ Calabria, Calabria, Italy
[2] Univ Mons, Mons, Belgium
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2014年 / 7卷 / 05期
关键词
D O I
10.14778/2732269.2732272
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A database is called uncertain if two or more tuples of the same relation are allowed to agree on their primary key. Intuitively, such tuples act as alternatives for each other. A repair (or possible world) of such uncertain database is obtained by selecting a maximal number of tuples without ever selecting two tuples of the same relation that agree on their primary key. For a Boolean query q, the problem CERTAINTY(q) takes as input an uncertain database db and asks whether q evaluates to true on every repair of db. In recent years, the complexity of CERTAINTY(q) has been studied under different restrictions on q. These complexity studies have assumed no restrictions on the uncertain databases that are input to CERTAINTY(q). In practice, however, it may be known that these input databases are partially consistent, in the sense that they satisfy some dependencies (e.g., functional dependencies). In this article, we introduce the problem CERTAINTY(q) in the presence of a set Sigma of dependencies. The problem CERTAINTY(q, Sigma) takes as input an uncertain database db that satisfies Sigma, and asks whether every repair of db satisfies q. We focus on the complexity of CERTAINTY(q, Sigma) when q is an acyclic conjunctive query without self-join, and Sigma is a set of functional dependencies and join dependencies, the latter of a particular form. We provide an algorithm that, given q and Sigma, decides whether CERTAINTY(q, Sigma) is first-order expressible. Moreover, we show how to effectively construct a first-order definition of CERTAINTY(q, Sigma) if it exists.
引用
收藏
页码:353 / 364
页数:12
相关论文
共 32 条
  • [1] Abiteboul Serge, 1995, FDN DATABASES
  • [2] Afrati F.N., 2009, P INT C DAT THEOR IC, P31
  • [3] Arenas M., 1999, Proceedings of the Eighteenth ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, P68, DOI 10.1145/303976.303983
  • [4] ON THE DESIRABILITY OF ACYCLIC DATABASE SCHEMES
    BEERI, C
    FAGIN, R
    MAIER, D
    YANNAKAKIS, M
    [J]. JOURNAL OF THE ACM, 1983, 30 (03) : 479 - 513
  • [5] Bertossi L. E, 2011, DATABASE REPAIRING C
  • [6] The complexity and approximation of fixing numerical attributes in databases under integrity constraints
    Bertossi, Leopoldo
    Bravo, Loreto
    Franconi, Enrico
    Lopatenko, Andrei
    [J]. INFORMATION SYSTEMS, 2008, 33 (4-5) : 407 - 434
  • [7] Bohannon P., COST BASED MODEL EFF, P143
  • [8] BRAVO L, 2004, CASCON, P202
  • [9] Minimal-change integrity maintenance using tuple deletions
    Chomicki, J
    Marcinkowski, J
    [J]. INFORMATION AND COMPUTATION, 2005, 197 (1-2) : 90 - 121
  • [10] Queries and materialized views on probabilistic databases
    Dalvi, Nilesh
    Re, Christopher
    Suciu, Dan
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2011, 77 (03) : 473 - 490