{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T11:31:24Z","timestamp":1790422284170,"version":"4.1.0"},"reference-count":45,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2017,6,1]],"date-time":"2017-06-01T00:00:00Z","timestamp":1496275200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["NSF IIS-1115188"],"award-info":[{"award-number":["NSF IIS-1115188"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Database Syst."],"published-print":{"date-parts":[[2017,6,30]]},"abstract":"<jats:p>\n            A relational database is said to be uncertain if primary key constraints can possibly be violated. A repair (or possible world) of an uncertain database is obtained by selecting a maximal number of tuples without ever selecting two distinct tuples with the same primary key value. For any Boolean query\n            <jats:italic>q<\/jats:italic>\n            , CERTAINTY(\n            <jats:italic>q<\/jats:italic>\n            ) is the problem that takes an uncertain database\n            <jats:bold>db<\/jats:bold>\n            as input and asks whether\n            <jats:italic>q<\/jats:italic>\n            is true in every repair of\n            <jats:bold>db<\/jats:bold>\n            . The complexity of this problem has been particularly studied for\n            <jats:italic>q<\/jats:italic>\n            ranging over the class of self-join-free Boolean conjunctive queries. A research challenge is to determine, given\n            <jats:italic>q<\/jats:italic>\n            , whether CERTAINTY(\n            <jats:italic>q<\/jats:italic>\n            ) belongs to complexity classes\n            <jats:bold>FO<\/jats:bold>\n            ,\n            <jats:bold>P<\/jats:bold>\n            , or\n            <jats:bold>coNP<\/jats:bold>\n            -complete.\n          <\/jats:p>\n          <jats:p>\n            In this article, we combine existing techniques for studying this complexity classification task. We show that, for any self-join-free Boolean conjunctive query\n            <jats:italic>q<\/jats:italic>\n            , it can be decided whether or not CERTAINTY(\n            <jats:italic>q<\/jats:italic>\n            ) is in\n            <jats:bold>FO<\/jats:bold>\n            . We additionally show how to construct a single SQL query for solving CERTAINTY(\n            <jats:italic>q<\/jats:italic>\n            ) if it is in\n            <jats:bold>FO<\/jats:bold>\n            . Further, for any self-join-free Boolean conjunctive query\n            <jats:italic>q<\/jats:italic>\n            , CERTAINTY(\n            <jats:italic>q<\/jats:italic>\n            ) is either in\n            <jats:bold>P<\/jats:bold>\n            or\n            <jats:bold>coNP<\/jats:bold>\n            -complete and the complexity dichotomy is effective. This settles a research question that has been open for 10 years.\n          <\/jats:p>","DOI":"10.1145\/3068334","type":"journal-article","created":{"date-parts":[[2017,6,5]],"date-time":"2017-06-05T12:50:00Z","timestamp":1496667000000},"page":"1-45","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":25,"title":["Consistent Query Answering for Self-Join-Free Conjunctive Queries Under Primary Key Constraints"],"prefix":"10.1145","volume":"42","author":[{"given":"Paraschos","family":"Koutris","sequence":"first","affiliation":[{"name":"University of Washington"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jef","family":"Wijsen","sequence":"additional","affiliation":[{"name":"University of Mons, Mons, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,6]]},"reference":[{"key":"e_1_2_2_1_1","volume-title":"Foundations of Databases","author":"Abiteboul Serge","unstructured":"Serge Abiteboul , Richard Hull , and Victor Vianu . 1995. Foundations of Databases . Addison-Wesley , New York, NY . Serge Abiteboul, Richard Hull, and Victor Vianu. 1995. Foundations of Databases. Addison-Wesley, New York, NY."},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/303976.303983"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068403001832"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(02)00737-5"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(79)90002-4"},{"key":"e_1_2_2_6_1","volume-title":"Database Repairing and Consistent Query Answering. Morgan 8 Claypool Publishers","author":"Bertossi Leopoldo E.","unstructured":"Leopoldo E. Bertossi . 2011. Database Repairing and Consistent Query Answering. Morgan 8 Claypool Publishers , San Francisco, CA . Leopoldo E. Bertossi. 2011. Database Repairing and Consistent Query Answering. Morgan 8 Claypool Publishers, San Francisco, CA."},{"key":"e_1_2_2_7_1","volume-title":"Proceedings of the 30th AAAI Conference on Artificial Intelligence","author":"Bienvenu Meghyn","year":"2016","unstructured":"Meghyn Bienvenu , Camille Bourgaux , and Fran\u00e7ois Goasdou\u00e9 . 2016 . Explaining inconsistency-tolerant query answering over description logic knowledge bases . In Proceedings of the 30th AAAI Conference on Artificial Intelligence , February 12-17, 2016, Phoenix, AZ, Dale Schuurmans and Michael P. Wellman (Eds.). AAAI Press, 900--906. http:\/\/www.aaai.org\/ocs\/index.php\/AAAI\/AAAI16\/paper\/view\/1 2025 Meghyn Bienvenu, Camille Bourgaux, and Fran\u00e7ois Goasdou\u00e9. 2016. Explaining inconsistency-tolerant query answering over description logic knowledge bases. In Proceedings of the 30th AAAI Conference on Artificial Intelligence, February 12-17, 2016, Phoenix, AZ, Dale Schuurmans and Michael P. Wellman (Eds.). AAAI Press, 900--906. http:\/\/www.aaai.org\/ocs\/index.php\/AAAI\/AAAI16\/paper\/view\/12025"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1970398.1970400"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ic.2004.04.007"},{"key":"e_1_2_2_10_1","doi-asserted-by":"crossref","unstructured":"Jan Chomicki Jerzy Marcinkowski and Slawomir Staworko. 2004. Hippo: A system for computing consistent answers to a class of SQL queries. In EDBT (Lecture Notes in Computer Science) Elisa Bertino Stavros Christodoulakis Dimitris Plexousakis Vassilis Christophides Manolis Koubarakis Klemens B\u00f6hm and Elena Ferrari (Eds.) Vol. 2992. Springer Berlin 841--844.  Jan Chomicki Jerzy Marcinkowski and Slawomir Staworko. 2004. Hippo: A system for computing consistent answers to a class of SQL queries. In EDBT (Lecture Notes in Computer Science) Elisa Bertino Stavros Christodoulakis Dimitris Plexousakis Vassilis Christophides Manolis Koubarakis Klemens B\u00f6hm and Elena Ferrari (Eds.) Vol. 2992. Springer Berlin 841--844.","DOI":"10.1007\/978-3-540-24741-8_53"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1016\/0196-6774(87)90018-6"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-33362-0_12"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/2402.322390"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2745754.2745762"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2013.62"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066176"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30570-5_23"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2006.10.013"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2003.1245280"},{"key":"e_1_2_2_20_1","doi-asserted-by":"crossref","unstructured":"Neil Immerman. 1999. Descriptive Complexity. Springer.  Neil Immerman. 1999. Descriptive Complexity. Springer.","DOI":"10.1007\/978-1-4612-0539-5"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2011.10.018"},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.14778\/2536336.2536341"},{"key":"e_1_2_2_23_1","volume-title":"Proceedings of the 17th International Conference on Database Theory (ICDT\u201914)","author":"Koutris Paraschos","year":"2014","unstructured":"Paraschos Koutris and Dan Suciu . 2014 . A dichotomy on the complexity of consistent query answering for atoms with simple keys. In Nicole Schweikardt, Vassilis Christophides, and Vincent Leroy (Eds.). 2014 . Proceedings of the 17th International Conference on Database Theory (ICDT\u201914) , Athens, Greece , March 24-28, 2014, 165--176. Paraschos Koutris and Dan Suciu. 2014. A dichotomy on the complexity of consistent query answering for atoms with simple keys. In Nicole Schweikardt, Vassilis Christophides, and Vincent Leroy (Eds.). 2014. Proceedings of the 17th International Conference on Database Theory (ICDT\u201914), Athens, Greece, March 24-28, 2014, 165--176."},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2745754.2745769"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/2949741.2949746"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/321864.321877"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.websem.2015.04.002"},{"key":"e_1_2_2_28_1","volume-title":"Elements of Finite Model Theory","author":"Libkin Leonid","unstructured":"Leonid Libkin . 2004. Elements of Finite Model Theory . Springer . Leonid Libkin. 2004. Elements of Finite Model Theory. Springer."},{"key":"e_1_2_2_29_1","volume-title":"Proceedings of the 29th AAAI Conference on Artificial Intelligence","author":"Lukasiewicz Thomas","year":"2015","unstructured":"Thomas Lukasiewicz , Maria Vanina Martinez , Andreas Pieris , and Gerardo I. Simari . 2015. From classical to consistent query answering under existential rules . In Proceedings of the 29th AAAI Conference on Artificial Intelligence , January 25-30, 2015 , Austin, TX. Blai Bonet and Sven Koenig (Eds.). AAAI Press, 1546--1552. http:\/\/www.aaai.org\/ocs\/index.php\/AAAI\/AAAI15\/paper\/view\/9817 Thomas Lukasiewicz, Maria Vanina Martinez, Andreas Pieris, and Gerardo I. Simari. 2015. From classical to consistent query answering under existential rules. In Proceedings of the 29th AAAI Conference on Artificial Intelligence, January 25-30, 2015, Austin, TX. Blai Bonet and Sven Koenig (Eds.). AAAI Press, 1546--1552. http:\/\/www.aaai.org\/ocs\/index.php\/AAAI\/AAAI15\/paper\/view\/9817"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.datak.2010.01.005"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ijar.2013.12.004"},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2013.01.011"},{"key":"e_1_2_2_33_1","volume-title":"Proceedings of the 17th International Conference on Database Theory (ICDT\u201914)","author":"Maslowski Dany","year":"2014","unstructured":"Dany Maslowski and Jef Wijsen . 2014 . Counting database repairs that satisfy conjunctive queries with self-joins, In Nicole Schweikardt, Vassilis Christophides, and Vincent Leroy (Eds.). 2014 . Proceedings of the 17th International Conference on Database Theory (ICDT\u201914) , Athens, Greece , March 24-28, 2014. 155--164. Dany Maslowski and Jef Wijsen. 2014. Counting database repairs that satisfy conjunctive queries with self-joins, In Nicole Schweikardt, Vassilis Christophides, and Vincent Leroy (Eds.). 2014. Proceedings of the 17th International Conference on Database Theory (ICDT\u201914), Athens, Greece, March 24-28, 2014. 155--164."},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/2745754"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1016\/0095-8956(80)90074-X"},{"key":"e_1_2_2_36_1","volume-title":"Proceedings of the 17th International Conference on Database Theory (ICDT\u201914)","author":"Schweikardt Nicole","year":"2014","unstructured":"Nicole Schweikardt , Vassilis Christophides , and Vincent Leroy ( Eds .). 2014 . Proceedings of the 17th International Conference on Database Theory (ICDT\u201914) , Athens, Greece , March 24-28, 2014. Open-Proceedings.org. http:\/\/openproceedings.org\/edbticdt2014\/ICDT_toc.html. Nicole Schweikardt, Vassilis Christophides, and Vincent Leroy (Eds.). 2014. Proceedings of the 17th International Conference on Database Theory (ICDT\u201914), Athens, Greece, March 24-28, 2014. Open-Proceedings.org. http:\/\/openproceedings.org\/edbticdt2014\/ICDT_toc.html."},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10472-012-9288-8"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/2949741.2949745"},{"key":"e_1_2_2_39_1","volume-title":"Principles of Database and Knowledge-Base Systems","author":"Ullman Jeffrey D.","unstructured":"Jeffrey D. Ullman . 1988. Principles of Database and Knowledge-Base Systems , Volume I. Computer Science Press, Rockville , MD. Jeffrey D. Ullman. 1988. Principles of Database and Knowledge-Base Systems, Volume I. Computer Science Press, Rockville, MD."},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.is.2009.03.011"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807085.1807111"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2010.07.021"},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/2188349.2188351"},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463664.2463666"},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-04939-7_2"}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3068334","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3068334","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3068334","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T03:03:44Z","timestamp":1750215824000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3068334"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,6]]},"references-count":45,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2017,6,30]]}},"alternative-id":["10.1145\/3068334"],"URL":"https:\/\/doi.org\/10.1145\/3068334","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,6]]},"assertion":[{"value":"2015-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-03-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-06-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}