{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,3]],"date-time":"2026-11-03T13:11:13Z","timestamp":1793711473442,"version":"4.6.1"},"reference-count":29,"publisher":"Association for Computing Machinery (ACM)","issue":"6","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2013,4]]},"abstract":"<jats:p>An inconsistent database is a database that violates one or more integrity constraints. A typical approach for answering a query over an inconsistent database is to first clean the inconsistent database by transforming it to a consistent one and then apply the query to the consistent database. An alternative and more principled approach, known as consistent query answering, derives the answers to a query over an inconsistent database without changing the database, but by taking into account all possible repairs of the database.<\/jats:p><jats:p>In this paper, we study the problem of consistent query answering over inconsistent databases for the class for conjunctive queries under primary key constraints. We develop a system, called EQUIP, that represents a fundamental departure from existing approaches for computing the consistent answers to queries in this class. At the heart of EQUIP is a technique, based on Binary Integer Programming (BIP), that repeatedly searches for repairs to eliminate candidate consistent answers until no further such candidates can be eliminated. We establish rigorously the correctness of the algorithms behind EQUIP and carry out an extensive experimental investigation that validates the effectiveness of our approach. Specifically, EQUIP exhibits good and stable performance on conjunctive queries under primary key constraints, it significantly outperforms existing systems for computing the consistent answers of such queries in the case in which the consistent answers are not first-order rewritable, and it scales well.<\/jats:p>","DOI":"10.14778\/2536336.2536341","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"397-408","source":"Crossref","is-referenced-by-count":28,"title":["Efficient querying of inconsistent databases with binary integer programming"],"prefix":"10.14778","volume":"6","author":[{"given":"Phokion G.","family":"Kolaitis","sequence":"first","affiliation":[{"name":"UC Santa Cruz and IBM Research-Almaden"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Enela","family":"Pema","sequence":"additional","affiliation":[{"name":"UC Santa Cruz"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wang-Chiew","family":"Tan","sequence":"additional","affiliation":[{"name":"UC Santa Cruz"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2013,4]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"crossref","first-page":"68","DOI":"10.1145\/303976.303983","volume-title":"PODS","author":"Arenas M.","year":"1999","unstructured":"M. Arenas , L. E. Bertossi , and J. Chomicki . Consistent query answers in inconsistent databases . In PODS , pages 68 - 79 , 1999 . M. Arenas, L. E. Bertossi, and J. Chomicki. Consistent query answers in inconsistent databases. In PODS, pages 68-79, 1999."},{"issue":"4","key":"e_1_2_1_2_1","first-page":"393","article-title":"Answer sets for consistent query answering in inconsistent databases","volume":"3","author":"Arenas M.","year":"2003","unstructured":"M. Arenas , L. E. Bertossi , and J. Chomicki . Answer sets for consistent query answering in inconsistent databases . TPLP , 3 ( 4-5 ): 393 - 424 , 2003 . M. Arenas, L. E. Bertossi, and J. Chomicki. Answer sets for consistent query answering in inconsistent databases. TPLP, 3(4-5):393-424, 2003.","journal-title":"TPLP"},{"issue":"3","key":"e_1_2_1_3_1","doi-asserted-by":"crossref","first-page":"405","DOI":"10.1016\/S0304-3975(02)00737-5","article-title":"Scalar aggregation in inconsistent databases","volume":"296","author":"Arenas M.","year":"2003","unstructured":"M. Arenas , L. E. Bertossi , J. Chomicki , X. He , V. Raghavan , and J. Spinrad . Scalar aggregation in inconsistent databases . TCS , 296 ( 3 ): 405 - 434 , 2003 . M. Arenas, L. E. Bertossi, J. Chomicki, X. He, V. Raghavan, and J. Spinrad. Scalar aggregation in inconsistent databases. TCS, 296(3):405-434, 2003.","journal-title":"TCS"},{"key":"e_1_2_1_4_1","first-page":"208","volume-title":"PADL","author":"Barcel\u00f3 P.","year":"2003","unstructured":"P. Barcel\u00f3 and L. E. Bertossi . Logic programs for querying inconsistent databases . In PADL , pages 208 - 222 , 2003 . P. Barcel\u00f3 and L. E. Bertossi. Logic programs for querying inconsistent databases. In PADL, pages 208-222, 2003."},{"key":"e_1_2_1_5_1","first-page":"269","volume-title":"JLP","author":"Beeri C.","year":"1987","unstructured":"C. Beeri and R. Ramakrishnan . On the power of magic . In JLP , pages 269 - 283 , 1987 . C. Beeri and R. Ramakrishnan. On the power of magic. In JLP, pages 269-283, 1987."},{"key":"e_1_2_1_6_1","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-031-01883-1","volume-title":"Database Repairing and Consistent Query Answering","author":"Bertossi L.","year":"2011","unstructured":"L. Bertossi . Database Repairing and Consistent Query Answering . Morgan and Claypool Publishers , 2011 . L. Bertossi. Database Repairing and Consistent Query Answering. Morgan and Claypool Publishers, 2011."},{"key":"e_1_2_1_7_1","doi-asserted-by":"crossref","first-page":"341","DOI":"10.1145\/1247480.1247520","volume-title":"SIGMOD","author":"Binnig C.","year":"2007","unstructured":"C. Binnig , D. Kossmann , E. Lo , and M. T. \u00d6zsu . QAGen : generating query-aware test databases . In SIGMOD , pages 341 - 352 , 2007 . C. Binnig, D. Kossmann, E. Lo, and M. T. \u00d6zsu. QAGen: generating query-aware test databases. In SIGMOD, pages 341-352, 2007."},{"key":"e_1_2_1_8_1","first-page":"74","volume-title":"SUM","author":"Caniup\u00e1n M.","year":"2007","unstructured":"M. Caniup\u00e1n and L. E. Bertossi . The consistency extractor system: Querying inconsistent databases using answer set programs . In SUM , pages 74 - 88 , 2007 . M. Caniup\u00e1n and L. E. Bertossi. The consistency extractor system: Querying inconsistent databases using answer set programs. In SUM, pages 74-88, 2007."},{"issue":"6","key":"e_1_2_1_9_1","doi-asserted-by":"crossref","first-page":"545","DOI":"10.1016\/j.datak.2010.01.005","article-title":"The consistency extractor system: Answer set programs for consistent query answering in databases","volume":"69","author":"Caniup\u00e1n M.","year":"2010","unstructured":"M. Caniup\u00e1n and L. E. Bertossi . The consistency extractor system: Answer set programs for consistent query answering in databases . DKE , 69 ( 6 ): 545 - 572 , 2010 . M. Caniup\u00e1n and L. E. Bertossi. The consistency extractor system: Answer set programs for consistent query answering in databases. DKE, 69(6):545-572, 2010.","journal-title":"DKE"},{"issue":"1","key":"e_1_2_1_10_1","doi-asserted-by":"crossref","first-page":"90","DOI":"10.1016\/j.ic.2004.04.007","article-title":"Minimal-change integrity maintenance using tuple deletions","volume":"197","author":"Chomicki J.","year":"2005","unstructured":"J. Chomicki and J. Marcinkowski . Minimal-change integrity maintenance using tuple deletions . Inf. Comput. , 197 ( 1-2 ): 90 - 121 , 2005 . J. Chomicki and J. Marcinkowski. Minimal-change integrity maintenance using tuple deletions. Inf. Comput., 197(1-2):90-121, 2005.","journal-title":"Inf. Comput."},{"key":"e_1_2_1_11_1","doi-asserted-by":"crossref","first-page":"417","DOI":"10.1145\/1031171.1031254","volume-title":"CIKM","author":"Chomicki J.","year":"2004","unstructured":"J. Chomicki , J. Marcinkowski , and S. Staworko . Computing consistent query answers using conflict hypergraphs . In CIKM , pages 417 - 426 , 2004 . J. Chomicki, J. Marcinkowski, and S. Staworko. Computing consistent query answers using conflict hypergraphs. In CIKM, pages 417-426, 2004."},{"key":"e_1_2_1_12_1","first-page":"841","volume-title":"EDBT","author":"Chomicki J.","year":"2004","unstructured":"J. Chomicki , J. Marcinkowski , and S. Staworko . Hippo: A system for computing consistent answers to a class of sql queries . In EDBT , pages 841 - 844 , 2004 . J. Chomicki, J. Marcinkowski, and S. Staworko. Hippo: A system for computing consistent answers to a class of sql queries. In EDBT, pages 841-844, 2004."},{"key":"e_1_2_1_13_1","volume-title":"DLV - a system for declarative problem solving. CoRR, cs.AI\/0003036","author":"Eiter T.","year":"2000","unstructured":"T. Eiter , W. Faber , C. Koch , N. Leone , and G. Pfeifer . DLV - a system for declarative problem solving. CoRR, cs.AI\/0003036 , 2000 . T. Eiter, W. Faber, C. Koch, N. Leone, and G. Pfeifer. DLV - a system for declarative problem solving. CoRR, cs.AI\/0003036, 2000."},{"key":"e_1_2_1_14_1","first-page":"163","volume-title":"ICLP","author":"Eiter T.","year":"2003","unstructured":"T. Eiter , M. Fink , G. Greco , and D. Lembo . Efficient evaluation of logic programs for querying data integration systems . In ICLP , pages 163 - 177 , 2003 . T. Eiter, M. Fink, G. Greco, and D. Lembo. Efficient evaluation of logic programs for querying data integration systems. In ICLP, pages 163-177, 2003."},{"issue":"1","key":"e_1_2_1_15_1","first-page":"1","article-title":"Duplicate record detection: A survey","volume":"19","author":"Elmagarmid A. K.","year":"2007","unstructured":"A. K. Elmagarmid , P. G. Ipeirotis , and V. S. Verykios . Duplicate record detection: A survey . IEEE TKDE , 19 ( 1 ): 1 - 16 , 2007 . A. K. Elmagarmid, P. G. Ipeirotis, and V. S. Verykios. Duplicate record detection: A survey. IEEE TKDE, 19(1):1-16, 2007.","journal-title":"IEEE TKDE"},{"key":"e_1_2_1_16_1","first-page":"285","volume-title":"DEXA (2)","author":"Flesca S.","year":"2010","unstructured":"S. Flesca , F. Furfaro , and F. Parisi . Consistent answers to Boolean aggregate queries under aggregate constraints . In DEXA (2) , pages 285 - 299 , 2010 . S. Flesca, F. Furfaro, and F. Parisi. Consistent answers to Boolean aggregate queries under aggregate constraints. In DEXA (2), pages 285-299, 2010."},{"key":"e_1_2_1_17_1","volume-title":"Querying and repairing inconsistent numerical databases. ACM TODS, 35(2)","author":"Flesca S.","year":"2010","unstructured":"S. Flesca , F. Furfaro , and F. Parisi . Querying and repairing inconsistent numerical databases. ACM TODS, 35(2) , 2010 . S. Flesca, F. Furfaro, and F. Parisi. Querying and repairing inconsistent numerical databases. ACM TODS, 35(2), 2010."},{"key":"e_1_2_1_18_1","first-page":"163","volume-title":"SUM","author":"Flesca S.","year":"2010","unstructured":"S. Flesca , F. Furfaro , and F. Parisi . Range-consistent answers of aggregate queries under aggregate constraints . In SUM , pages 163 - 176 , 2010 . S. Flesca, F. Furfaro, and F. Parisi. Range-consistent answers of aggregate queries under aggregate constraints. In SUM, pages 163-176, 2010."},{"key":"e_1_2_1_19_1","doi-asserted-by":"crossref","first-page":"155","DOI":"10.1145\/1066157.1066176","volume-title":"SIGMOD","author":"Fuxman A.","year":"2005","unstructured":"A. Fuxman , E. Fazli , and R. J. Miller . ConQuer: Efficient management of inconsistent databases . In SIGMOD , pages 155 - 166 , 2005 . A. Fuxman, E. Fazli, and R. J. Miller. ConQuer: Efficient management of inconsistent databases. In SIGMOD, pages 155-166, 2005."},{"issue":"4","key":"e_1_2_1_20_1","first-page":"610","article-title":"First-order query rewriting for inconsistent databases","volume":"73","author":"Fuxman A.","year":"2007","unstructured":"A. Fuxman and R. J. Miller . First-order query rewriting for inconsistent databases . JCSS , 73 ( 4 ): 610 - 635 , 2007 . A. Fuxman and R. J. Miller. First-order query rewriting for inconsistent databases. JCSS, 73(4):610-635, 2007.","journal-title":"JCSS"},{"key":"e_1_2_1_21_1","volume-title":"Computers and Intractability: A Guide to the Theory of NP-Completeness","author":"Garey M. R.","year":"1979","unstructured":"M. R. Garey and D. S. Johnson . Computers and Intractability: A Guide to the Theory of NP-Completeness . W. H. Freeman , 1979 . M. R. Garey and D. S. Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, 1979."},{"key":"e_1_2_1_22_1","first-page":"348","volume-title":"ICLP","author":"Greco G.","year":"2001","unstructured":"G. Greco , S. Greco , and E. Zumpano . A logic programming approach to the integration, repairing and querying of inconsistent databases . In ICLP , pages 348 - 364 , 2001 . G. Greco, S. Greco, and E. Zumpano. A logic programming approach to the integration, repairing and querying of inconsistent databases. In ICLP, pages 348-364, 2001."},{"issue":"6","key":"e_1_2_1_23_1","first-page":"1389","article-title":"A logical framework for querying and repairing inconsistent databases","volume":"15","author":"Greco G.","year":"2003","unstructured":"G. Greco , S. Greco , and E. Zumpano . A logical framework for querying and repairing inconsistent databases . IEEE TKDE , 15 ( 6 ): 1389 - 1408 , 2003 . G. Greco, S. Greco, and E. Zumpano. A logical framework for querying and repairing inconsistent databases. IEEE TKDE, 15(6):1389-1408, 2003.","journal-title":"IEEE TKDE"},{"issue":"3","key":"e_1_2_1_24_1","doi-asserted-by":"crossref","first-page":"77","DOI":"10.1016\/j.ipl.2011.10.018","article-title":"A dichotomy in the complexity of consistent query answering for queries with two atoms","volume":"112","author":"Kolaitis P. G.","year":"2012","unstructured":"P. G. Kolaitis and E. Pema . A dichotomy in the complexity of consistent query answering for queries with two atoms . Inf. Process. Lett. , 112 ( 3 ): 77 - 85 , 2012 . P. G. Kolaitis and E. Pema. A dichotomy in the complexity of consistent query answering for queries with two atoms. Inf. Process. Lett., 112(3):77-85, 2012.","journal-title":"Inf. Process. Lett."},{"key":"e_1_2_1_25_1","first-page":"55","volume-title":"SEBD","author":"Leone N.","year":"2005","unstructured":"N. Leone , T. Eiter , W. Faber , M. Fink , G. Gottlob , and G. Greco . Boosting information integration: The INFOMIX system . In SEBD , pages 55 - 66 , 2005 . N. Leone, T. Eiter, W. Faber, M. Fink, G. Gottlob, and G. Greco. Boosting information integration: The INFOMIX system. In SEBD, pages 55-66, 2005."},{"issue":"1","key":"e_1_2_1_26_1","first-page":"107","article-title":"Preferred answer sets for ordered logic programs","volume":"6","author":"Nieuwenborgh D. V.","year":"2006","unstructured":"D. V. Nieuwenborgh and D. Vermeir . Preferred answer sets for ordered logic programs . TPLP , 6 ( 1-2 ): 107 - 167 , 2006 . D. V. Nieuwenborgh and D. Vermeir. Preferred answer sets for ordered logic programs. TPLP, 6(1-2):107-167, 2006.","journal-title":"TPLP"},{"issue":"7","key":"e_1_2_1_27_1","doi-asserted-by":"crossref","first-page":"578","DOI":"10.1016\/j.is.2009.03.011","article-title":"On the consistent rewriting of conjunctive queries under primary key constraints","volume":"34","author":"Wijsen J.","year":"2009","unstructured":"J. Wijsen . On the consistent rewriting of conjunctive queries under primary key constraints . Inf. Syst. , 34 ( 7 ): 578 - 601 , 2009 . J. Wijsen. On the consistent rewriting of conjunctive queries under primary key constraints. Inf. Syst., 34(7):578-601, 2009.","journal-title":"Inf. Syst."},{"issue":"21","key":"e_1_2_1_28_1","doi-asserted-by":"crossref","first-page":"950","DOI":"10.1016\/j.ipl.2010.07.021","article-title":"A remark on the complexity of consistent conjunctive query answering under primary key violations","volume":"110","author":"Wijsen J.","year":"2010","unstructured":"J. Wijsen . A remark on the complexity of consistent conjunctive query answering under primary key violations . IPL , 110 ( 21 ): 950 - 955 , 2010 . J. Wijsen. A remark on the complexity of consistent conjunctive query answering under primary key violations. IPL, 110(21):950-955, 2010.","journal-title":"IPL"},{"issue":"2","key":"e_1_2_1_29_1","doi-asserted-by":"crossref","first-page":"9","DOI":"10.1145\/2188349.2188351","article-title":"Certain conjunctive query answering in first-order logic","volume":"37","author":"Wijsen J.","year":"2012","unstructured":"J. Wijsen . Certain conjunctive query answering in first-order logic . ACM TODS , 37 ( 2 ): 9 , 2012 . J. Wijsen. Certain conjunctive query answering in first-order logic. ACM TODS, 37(2):9, 2012.","journal-title":"ACM TODS"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/2536336.2536341","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,7,26]],"date-time":"2023-07-26T23:57:33Z","timestamp":1690415853000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/2536336.2536341"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2013,4]]},"references-count":29,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2013,4]]}},"alternative-id":["10.14778\/2536336.2536341"],"URL":"https:\/\/doi.org\/10.14778\/2536336.2536341","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2013,4]]}}}