Research in consistent query answering studies the definition and computation of "meaningful" answers to queries posed to inconsistent databases, i.e., databases whose data do not satisfy the integrity constraints (ICs) declared on their schema. Computing consistent answers to conjunctive queries is generally coNP-hard in data complexity, even in the presence of very restricted forms of ICs (single, unary keys). Recent studies on consistent query answering for database schemas containing only key dependencies have analyzed the possibility of identifying classes of queries whose consistent answers can be obtained by a first-order rewriting of the query, which in turn can be easily formulated in SQL and directly evaluated through any relational DBMS. In this paper we study consistent query answering in the presence of key dependencies and exclusion dependencies. We first prove that even in the presence of only exclusion dependencies the problem is coNP-hard in data complexity, and define a general method for consistent answering of conjunctive queries under key and exclusion dependencies, based on the rewriting of the query in Datalog with negation. Then, we identify a subclass of conjunctive queries that can be first-order rewritten in the presence of key and exclusion dependencies, and define an algorithm for computing the first-order rewriting of a query belonging to such a class of queries. Finally, we compare the relative efficiency of the two methods for processing queries in the subclass above mentioned. Experimental results, conducted on a real and large database of the computer science engineering degrees of the University of Rome "La Sapienza", clearly show the computational advantage of the first-order based technique. Copyright 2005 ACM.

Consistent query answering under key and exclusion dependencies: Algorithms and experiments / Luca, Grieco; Lembo, Domenico; Rosati, Riccardo; Ruzzi, Marco. - (2005), pp. 792-799. (Intervento presentato al convegno CIKM'05 - Proceedings of the 14th ACM International Conference on Information and Knowledge Management tenutosi a Bremen; Germany nel 31 October 2005 through 5 November 2005) [10.1145/1099554.1099742].

Consistent query answering under key and exclusion dependencies: Algorithms and experiments

LEMBO, Domenico;ROSATI, Riccardo;RUZZI, MARCO
2005

Abstract

Research in consistent query answering studies the definition and computation of "meaningful" answers to queries posed to inconsistent databases, i.e., databases whose data do not satisfy the integrity constraints (ICs) declared on their schema. Computing consistent answers to conjunctive queries is generally coNP-hard in data complexity, even in the presence of very restricted forms of ICs (single, unary keys). Recent studies on consistent query answering for database schemas containing only key dependencies have analyzed the possibility of identifying classes of queries whose consistent answers can be obtained by a first-order rewriting of the query, which in turn can be easily formulated in SQL and directly evaluated through any relational DBMS. In this paper we study consistent query answering in the presence of key dependencies and exclusion dependencies. We first prove that even in the presence of only exclusion dependencies the problem is coNP-hard in data complexity, and define a general method for consistent answering of conjunctive queries under key and exclusion dependencies, based on the rewriting of the query in Datalog with negation. Then, we identify a subclass of conjunctive queries that can be first-order rewritten in the presence of key and exclusion dependencies, and define an algorithm for computing the first-order rewriting of a query belonging to such a class of queries. Finally, we compare the relative efficiency of the two methods for processing queries in the subclass above mentioned. Experimental results, conducted on a real and large database of the computer science engineering degrees of the University of Rome "La Sapienza", clearly show the computational advantage of the first-order based technique. Copyright 2005 ACM.
2005
CIKM'05 - Proceedings of the 14th ACM International Conference on Information and Knowledge Management
computational complexity; inconsistency; query rewriting
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Consistent query answering under key and exclusion dependencies: Algorithms and experiments / Luca, Grieco; Lembo, Domenico; Rosati, Riccardo; Ruzzi, Marco. - (2005), pp. 792-799. (Intervento presentato al convegno CIKM'05 - Proceedings of the 14th ACM International Conference on Information and Knowledge Management tenutosi a Bremen; Germany nel 31 October 2005 through 5 November 2005) [10.1145/1099554.1099742].
File allegati a questo prodotto
File Dimensione Formato  
VE_2005_11573-366728.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 368.93 kB
Formato Adobe PDF
368.93 kB Adobe PDF   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/366728
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 35
  • ???jsp.display-item.citation.isi??? ND
social impact