Skip to search boxSkip to navigationSkip to main content

Active Integrity Constraints: from Theory to Implementation

  • Luis Cruz-Filipe
    ,
  • Michael Franz
    ,
  • Artavazd Hakhverdyan
    ,
  • Marta Ludovico
    ,
  • Isabel Nunes
    ,
  • Peter Schneider-Kamp
  • University of Southern Denmark
    ,
  • Faculty of Sciences of the University of Lisbon
    ,
  • University of Lisbon
Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-review

Publication Information

Output type

Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 399-420 (22 pages)

Journal (Volume, Issue Number)

Communications in Computer and Information Science (Volume 631)

Publication milestones

  • Published - 22/01/2017

Publication status

Published - 22/01/2017

Abstract

The problem of database consistency relative to a set of integrity constraints has been extensively studied since the 1980s, and is still recognized as one of the most important and complex in the field. In recent years, with the proliferation of knowledge repositories (not only databases) in practical applications, there has also been an effort to develop implementations of consistency maintenance algorithms that have a solid theoretical basis. The framework of active integrity constraints (AICs) is one example of such an effort, providing theoretical grounds for rule-based algorithms for ensuring database consistency. An AIC consists of an integrity constraint together with a specification of actions that may be taken to repair a database that does not satisfy it. Both denotational and operational semantics have been proposed for AICs. In this paper, we describe repAIrC, a prototype implementation of the algorithms previously proposed targetting SQL databases, i.e., the most prolific type of databases. Using repAIrC, we can both validate an SQL database with respect to a given set of AICs and compute possible repairs in case the database is inconsistent; the tool is able to work with the different kinds of repairs that have been considered, and achieves optimal asymptotic complexity in their computation. It also implements strategies for parallelizing the search for repairs, which in many cases can make untractable problems become easily solvable.

Related Event

Title

International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management

Event type

Conference

Degree of recognition

International event

Date

12/11/2015 - 14/11/2015

Location

LisbonPortugal