The complexity and approximation of fixing numerical attributes in databases under integrity constraints

Bertossi, Leopoldo; Bravo, Loreto; Franconi, Enrico; Lopatenko, Andrei

Abstract

Consistent query answering is the problem of characterizing and computing the semantically correct answers to queries from a database that may not satisfy certain integrity constraints. Consistent answers are characterized as those answers that are invariant tinder all minimally repaired versions of the original database. We study the problem of repairing databases with respect to denial constraints by fixing integer numerical values taken by attributes. We introduce a quantitative definition of database repair, and investigate the complexity of several decision and optimization problems. Among them, Database Repair Problem (DRP): deciding the existence of repairs within a given distance to the original instance, and CQA: deciding consistency of answers to simple and aggregate conjunctive queries under different semantics. We provide sharp complexity bounds, identifying relevant tractable and intractable cases. We also develop approximation algorithms for the latter. Among other results, we establish: (a) The Delta(P)(2)-hardness of CQA. (b) That DRP is MAXSNP-hard, but has a good approximation. (c) The intractability of CQA for aggregate queries for one database atom denials (plus built-ins), and also that it has a good approximation. (C) 2008 Elsevier B.V. All rights reserved.

Más información

Título según WOS: ID WOS:000256864900005 Not found in local WOS DB
Título de la Revista: INFORMATION SYSTEMS
Volumen: 33
Número: 4-5
Editorial: PERGAMON-ELSEVIER SCIENCE LTD
Fecha de publicación: 2008
Página de inicio: 407
Página final: 434
DOI:

10.1016/j.is.2008.01.005

Notas: ISI