Repairing databases with annotated predicate logic.
Pablo Barceló, Leopoldo Bertossi · 2002
Consistent answers from a relational database that violates a given set of integrity constraints are characterized [2] as ordinary answers that can be obtained from every repaired version of the database. In this paper we address the problem of specifying the repairs of a database as the minimal models of a theory written in Annotated Predicate Logic [10]. The specification is first transformed into a disjunctive logic program with annotation arguments and then, from the program, consistent answers to first order queries are obtained.