Hostname: page-component-7b7567c8c-tnzcf Total loading time: 0 Render date: 2026-11-14T09:08:26.981Z Has data issue: false hasContentIssue false

Taming primary key violations to query large inconsistent data via ASP

Published online by Cambridge University Press:  03 September 2015

MARCO MANNA
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: manna@mat.unical.it, ricca@mat.unical.it, terracina@mat.unical.it)
FRANCESCO RICCA
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: manna@mat.unical.it, ricca@mat.unical.it, terracina@mat.unical.it)
GIORGIO TERRACINA
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: manna@mat.unical.it, ricca@mat.unical.it, terracina@mat.unical.it)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Consistent query answering over a database that violates primary key constraints is a classical hard problem in database research that has been traditionally dealt with logic programming. However, the applicability of existing logic-based solutions is restricted to data sets of moderate size. This paper presents a novel decomposition and pruning strategy that reduces, in polynomial time, the problem of computing the consistent answer to a conjunctive query over a database subject to primary key constraints to a collection of smaller problems of the same sort that can be solved independently. The new strategy is naturally modeled and implemented using Answer Set Programming (ASP). An experiment run on benchmarks from the database world prove the effectiveness and efficiency of our ASP-based approach also on large data sets.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2015