{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,17]],"date-time":"2026-10-17T00:40:30Z","timestamp":1792197630591,"version":"4.4.0"},"reference-count":27,"publisher":"Cambridge University Press (CUP)","issue":"4-5","license":[{"start":{"date-parts":[[2015,9,3]],"date-time":"2015-09-03T00:00:00Z","timestamp":1441238400000},"content-version":"unspecified","delay-in-days":64,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2015,7]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>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.<\/jats:p>","DOI":"10.1017\/s1471068415000320","type":"journal-article","created":{"date-parts":[[2015,9,3]],"date-time":"2015-09-03T04:21:21Z","timestamp":1441254081000},"page":"696-710","source":"Crossref","is-referenced-by-count":12,"title":["Taming primary key violations to query large inconsistent data via ASP"],"prefix":"10.1017","volume":"15","author":[{"given":"MARCO","family":"MANNA","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"FRANCESCO","family":"RICCA","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"GIORGIO","family":"TERRACINA","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2015,9,3]]},"reference":[{"key":"S1471068415000320_ref24","first-page":"397","article-title":"Efficient querying of inconsistent databases with binary integer programming","volume":"6","author":"Kolaitis","year":"2013","journal-title":"PVLDB"},{"key":"S1471068415000320_ref4","doi-asserted-by":"crossref","unstructured":"Arenas M. , Bertossi L. E. , and Chomicki J. 1999. Consistent query answers in inconsistent databases. In Proceedings of PODS '99. 68\u201379.","DOI":"10.1145\/303976.303983"},{"key":"S1471068415000320_ref23","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2011.10.018"},{"key":"S1471068415000320_ref12","first-page":"117","article-title":"The third open answer set programming competition","volume":"14","author":"Calimeri","year":"2014","journal-title":"TPLP"},{"key":"S1471068415000320_ref6","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511543357"},{"key":"S1471068415000320_ref10","doi-asserted-by":"publisher","DOI":"10.1145\/2043174.2043195"},{"key":"S1471068415000320_ref25","first-page":"227","article-title":"Consistent query answering via asp from different perspectives: Theory and practice","volume":"13","author":"Manna","year":"2013","journal-title":"TPLP"},{"key":"S1471068415000320_ref20","doi-asserted-by":"publisher","DOI":"10.1007\/BF03037169"},{"key":"S1471068415000320_ref27","doi-asserted-by":"publisher","DOI":"10.1145\/2188349.2188351"},{"key":"S1471068415000320_ref19","volume-title":"IJCAI 2013, Proceedings of the 23rd International Joint Conference on Artificial Intelligence, Beijing, China, August 3-9, 2013","author":"Gebser","year":"2013"},{"key":"S1471068415000320_ref18","first-page":"345","volume-title":"Logic Programming and Nonmonotonic Reasoning - 11th International Conference, LPNMR 2011, Vancouver, Canada, May 16-19, 2011. Proceedings","author":"Gebser","year":"2011"},{"key":"S1471068415000320_ref11","unstructured":"Calimeri F. , Faber W. , Gebser M. , Ianni G. , Kaminski R. , Krennwallner T. , Leone N. , Ricca F. , and Schaub T. 2013. Asp-core-2 input language format. Available at https:\/\/www.mat.unical.it\/aspcomp2013\/files\/ASP-CORE-2.03b.pdf."},{"key":"S1471068415000320_ref1","volume-title":"Foundations of Databases","author":"Abiteboul","year":"1995"},{"key":"S1471068415000320_ref26","doi-asserted-by":"publisher","DOI":"10.1016\/j.is.2009.03.011"},{"key":"S1471068415000320_ref13","doi-asserted-by":"publisher","DOI":"10.1016\/j.ic.2004.04.007"},{"key":"S1471068415000320_ref14","first-page":"163","volume-title":"Proceedings of ICLP'03","author":"Eiter","year":"2003"},{"key":"S1471068415000320_ref16","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066176"},{"key":"S1471068415000320_ref5","first-page":"393","article-title":"Answer sets for consistent query answering in inconsistent databases","volume":"3","author":"Arenas","year":"2003","journal-title":"TPLP"},{"key":"S1471068415000320_ref21","first-page":"348","volume-title":"Proceedings of ICLP'01","author":"Greco","year":"2001"},{"key":"S1471068415000320_ref9","doi-asserted-by":"publisher","DOI":"10.1007\/b104925"},{"key":"S1471068415000320_ref7","first-page":"208","volume-title":"Proceedings of PADL'03","author":"Barcel\u00f3","year":"2003"},{"key":"S1471068415000320_ref15","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2007.250581"},{"key":"S1471068415000320_ref2","first-page":"755","article-title":"Anytime computation of cautious consequences in answer set programming","volume":"14","author":"Alviano","year":"2014","journal-title":"TPLP"},{"key":"S1471068415000320_ref8","doi-asserted-by":"crossref","DOI":"10.2200\/S00379ED1V01Y201108DTM020","volume-title":"Database Repairing and Consistent Query Answering","author":"Bertossi","year":"2011"},{"key":"S1471068415000320_ref22","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2003.1245280"},{"key":"S1471068415000320_ref3","unstructured":"Alviano M. , Dodaro C. , and Ricca F. 2014b. Preliminary report on WASP 2.0. CoRR abs\/1404.6999."},{"key":"S1471068415000320_ref17","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2006.10.013"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068415000320","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,4,20]],"date-time":"2019-04-20T19:30:50Z","timestamp":1555788650000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068415000320\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,7]]},"references-count":27,"journal-issue":{"issue":"4-5","published-print":{"date-parts":[[2015,7]]}},"alternative-id":["S1471068415000320"],"URL":"https:\/\/doi.org\/10.1017\/s1471068415000320","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,7]]}}}