Polynomial time queries over inconsistent databases with functional dependencies and foreign keys

被引:9
作者
Molinaro, Cristian [1 ]
Greco, Sergio [1 ]
机构
[1] Univ Calabria, DEIS, I-87036 Arcavacata Di Rende, CS, Italy
关键词
Inconsistent databases; Consistent query answers; Incomplete databases; SEMANTICS;
D O I
10.1016/j.datak.2010.02.007
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper addresses the problem of efficiently computing consistent answers to queries over relational databases which may be inconsistent with respect to functional dependencies and foreign key constraints. Since consistent query answers over inconsistent databases are obtained from repaired databases, we first present a repair strategy. More specifically, in this paper we consider particular sets of functional dependencies, called canonical, and a repair strategy whereby only tuple updates and insertions are allowed in order to restore consistency: if foreign key constraints are violated, new tuples (possibly containing null values) are inserted into the database, whereas if functional dependency violations occur, tuple updates (possibly introducing unknown values, i.e. special symbols which can take values from a limited set of constants of the source database) are performed. Therefore, we propose a semantics of constraint satisfaction for incomplete databases containing null and unknown values since the repair process can lead to such databases. The proposed approach allows us to obtain a unique (incomplete) repaired database which may be computed in polynomial time. Drawing on the results on the complexity of querying incomplete databases containing OR-objects, we identify classes of constraints for which the consistent answers to particular classes of conjunctive queries can be computed in polynomial time. (C) 2010 Elsevier B.V. All rights reserved.
引用
收藏
页码:709 / 722
页数:14
相关论文
共 27 条
  • [1] Abiteboul Serge, 1994, Foundations of Databases
  • [2] AGARWAL S, 1995, IEEE INT C DAT ENG I, P495
  • [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] Bertossi L, 2004, LOGICS FOR EMERGING APPLICATIONS OF DATABASES, P43
  • [5] Bertossi L, 2006, SIGMOD REC, V35, P68, DOI 10.1145/1147376.1147391
  • [6] BRAVO L, 2006, EDBT WORKSH, P336
  • [7] Bry F., 1997, Integrity and Internal Control in Information Systems. Vol.1: Increasing the Confidence in Information Systems. IFIP TC-11 WG11.5 First Working Conference on Integrity and Internal Control in Information Systems, P113
  • [8] CALI A, 2002, INT C PRINC KNOWL RE, P262
  • [9] Cali A., 2008, P 11 INT C PRINC KNO, P70
  • [10] Minimal-change integrity maintenance using tuple deletions
    Chomicki, J
    Marcinkowski, J
    [J]. INFORMATION AND COMPUTATION, 2005, 197 (1-2) : 90 - 121