repAIrC: A Tool for Ensuring Data Consistency by Means of Active Integrity Constraints

Consistency of knowledge repositories is of prime importance in organization management. Integrity constraints are a well-known vehicle for specifying data consistency requirements in knowledge bases; in particular, active integrity constraints go one step further, allowing the specification of preferred ways to overcome inconsistent situations in the context of database management. This paper describes a tool to validate an SQL database with respect to a given set of active integrity constraints, proposing possible repairs in case the database is inconsistent. The tool is able to work with the different kinds of repairs proposed in the literature, namely simple, founded, well-founded and justified repairs. It also implements strategies for parallelizing the search for them, allowing the user both to compute partitions of independent or stratified active integrity constraints, and to apply these partitions to find repairs of inconsistent databases efficiently in parallel.

[1]  Hirofumi Katsuno,et al.  On the Difference between Updating a Knowledge Base and Revising It , 1991, KR.

[2]  Robert E. Tarjan,et al.  Depth-First Search and Linear Graph Algorithms , 1972, SIAM J. Comput..

[3]  Georg Gottlob,et al.  On the complexity of propositional knowledge base revision, updates, and counterfactuals , 1992, Artif. Intell..

[4]  Luís Cruz-Filipe Optimizing Computation of Repairs from Active Integrity Constraints , 2014, FoIKS.

[5]  Marianne Winslett,et al.  Updating logical databases , 1990, Cambridge tracts in theoretical computer science.

[6]  Serge Abiteboul,et al.  Updates, A New Frontier , 1988, ICDT.

[7]  Miroslaw Truszczynski,et al.  Active integrity constraints and revision programming , 2010, Theory and Practice of Logic Programming.

[8]  Sergio Greco,et al.  Active Integrity Constraints for Database Consistency Maintenance , 2009, IEEE Transactions on Knowledge and Data Engineering.

[9]  B. Duhon,et al.  It's all in our heads , 1998 .

[10]  Sergio Greco,et al.  Active integrity constraints , 2004, PPDP '04.

[11]  Sergio Greco,et al.  Prioritized Active Integrity Constraints for Database Maintenance , 2007, DASFAA.

[12]  Luís Cruz-Filipe,et al.  Computing Repairs from Active Integrity Constraints , 2013, 2013 International Symposium on Theoretical Aspects of Software Engineering.