{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:33:16Z","timestamp":1787340796191,"version":"build-2736575974"},"reference-count":62,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"3","funder":[{"name":"Kurt Godel Society Research Fellowship"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2017,1]]},"abstract":"<jats:p>Answering conjunctive queries is a fundamental problem in database theory, and it is equivalent to solving constraint satisfaction problems in artificial intelligence and to other fundamental problems arising in computer science, which can be recast in terms of looking for homomorphisms between relational structures. The problem is NP-hard, so that several research efforts have been made in the literature for identifying tractable classes, known as islands of tractability, as well as for devising clever heuristics for solving efficiently real-world instances. Many heuristic approaches are based on enforcing on the given instance a property called local consistency (also, relational arc-consistency), where each tuple in every query atom matches at least one tuple in every other query atom. Interestingly, for many well-known classes of instances, such as for the acyclic ones, enforcing local consistency is even sufficient to solve the given instance correctly. However, the precise power of such a procedure was unclear, but for some very restricted cases. The paper provides answers to long-standing questions about the precise power of algorithms based on enforcing local consistency. The paper deals with both the general framework of tree projections, where local consistency is enforced among arbitrary views defined over the given database instance, and the specific cases where such views are computed according to the so-called structural decomposition methods, such as generalized hypertree width, component hypertree decompositions, and so on. Moreover, the paper deals with both decision and computation problems, by characterizing those tuples that are correct projections of query answers, which finds application in algorithms for answering queries and solving constraint satisfaction problems. As a relevant special case, the power of algorithms based on enforcing local consistency is characterized over the fundamental and deeply studied class of acyclic conjunctive queries. It turns out that local consistency provides the correct answer to a Boolean acyclic query if, and only if, the query is semantically acyclic.<\/jats:p>","DOI":"10.1137\/16m1090272","type":"journal-article","created":{"date-parts":[[2017,6,29]],"date-time":"2017-06-29T10:12:32Z","timestamp":1498731152000},"page":"1111-1145","source":"Crossref","is-referenced-by-count":10,"title":["The Power of Local Consistency in Conjunctive Queries and Constraint Satisfaction Problems"],"prefix":"10.1137","volume":"46","author":[{"given":"Gianluigi","family":"Greco","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Francesco","family":"Scarcello","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2017,6,29]]},"reference":[{"key":"atypb1","unstructured":"S. Abiteboul, R. Hull, and V. Vianu,\n                      Foundations of Databases\n                      . Addison-Wesley, Reading, MA, 1995."},{"key":"atypb2","doi-asserted-by":"publisher","DOI":"10.1002\/jgt.20025"},{"key":"atypb3","unstructured":"I. Adler,\n                      Width Functions for Hypertree Decompositions\n                      , Ph.D. thesis, University of Freiburg, 2006."},{"key":"atypb4","doi-asserted-by":"publisher","DOI":"10.1137\/050623395"},{"key":"atypb5","doi-asserted-by":"publisher","DOI":"10.1016\/j.ejc.2007.04.013"},{"key":"atypb6","doi-asserted-by":"crossref","unstructured":"A. Atserias, A. Bulatov, and V. Dalmau,\n                      On the power of k-consistency\n                      , in Proceedings of ICALP'07, 2007, pp. 279-290.","DOI":"10.1007\/978-3-540-73420-8_26"},{"key":"atypb7","doi-asserted-by":"publisher","DOI":"10.1137\/15M1034714"},{"key":"atypb8","doi-asserted-by":"publisher","DOI":"10.1145\/2402.322389"},{"key":"atypb9","doi-asserted-by":"publisher","DOI":"10.1145\/1634.1636"},{"key":"atypb10","doi-asserted-by":"publisher","DOI":"10.1137\/0210059"},{"key":"atypb11","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539793251219"},{"key":"atypb12","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2011.09.006"},{"key":"atypb13","doi-asserted-by":"publisher","DOI":"10.1145\/322234.322243"},{"key":"atypb14","doi-asserted-by":"crossref","unstructured":"A. K. Chandra and P. M. Merlin,\n                      Optimal implementation of conjunctive queries in relational data bases\n                      , in Proceedings of STOC'77, 1977, pp. 77-90.","DOI":"10.1145\/800105.803397"},{"key":"atypb15","doi-asserted-by":"crossref","unstructured":"H. Chen and V. Dalmau,\n                      Beyond hypertree width: Decomposition methods without decompositions\n                      , in Proceedings of CP'05, 2005, pp. 167-181.","DOI":"10.1007\/11564751_15"},{"key":"atypb16","unstructured":"D. A. Cohen and P. Jeavons,\n                      The complexity of constraint languages\n                      , in Handbook of Constraint Programming, F. Rossi, P. van Beek, and T. Walsh, eds., Elsevier, New York, 2006."},{"key":"atypb17","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2007.08.001"},{"key":"atypb18","doi-asserted-by":"publisher","DOI":"10.1016\/j.artint.2011.02.003"},{"key":"atypb19","doi-asserted-by":"crossref","unstructured":"V. Dalmau, Ph. G. Kolaitis, and M. Y. Vardi,\n                      Constraint satisfaction, bounded treewidth, and finite-variable logics\n                      , in Proceedings of CP'02, 2002, pp. 310-326.","DOI":"10.1007\/3-540-46135-3_21"},{"key":"atypb20","unstructured":"R. Dechter,\n                      Constraint Processing\n                      , Morgan Kaufmann, Burlington, MA, 2003."},{"key":"atypb21","doi-asserted-by":"publisher","DOI":"10.1016\/0004-3702(89)90037-4"},{"key":"atypb22","doi-asserted-by":"publisher","DOI":"10.1145\/2402.322390"},{"key":"atypb23","doi-asserted-by":"publisher","DOI":"10.1145\/602220.602222"},{"key":"atypb24","doi-asserted-by":"crossref","unstructured":"P. Fraigniaud and N. Nisse,\n                      Connected treewidth and connected graph searching\n                      , in Proceedings of LATIN'06, 2006, pp. 479-490.","DOI":"10.1007\/11682462_45"},{"key":"atypb25","unstructured":"E. C. Freuder,\n                      Complexity of K-tree structured constraint satisfaction problems\n                      , in Proceedings of the 8th National Conference on Artificial Intelligence, 1990, pp. 4-9."},{"key":"atypb26","doi-asserted-by":"crossref","unstructured":"G. Gottlob, G. Greco, N. Leone, and F. Scarcello,\n                      Hypertree decompositions: Questions and answers\n                      , in Proceedings of PODS'16, 2016, pp. 57-74.","DOI":"10.1145\/2902251.2902309"},{"key":"atypb27","doi-asserted-by":"publisher","DOI":"10.1016\/S0004-3702(00)00078-3"},{"key":"atypb28","doi-asserted-by":"publisher","DOI":"10.1145\/382780.382783"},{"key":"atypb29","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.2001.1809"},{"key":"atypb30","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(03)00030-8"},{"key":"atypb31","first-page":"56","author":"Gottlob G.","year":"2009","journal-title":"J. ACM"},{"key":"atypb32","first-page":"55","author":"Gottlob G.","year":"2008","journal-title":"J. ACM"},{"key":"atypb33","doi-asserted-by":"publisher","DOI":"10.1145\/2157.322405"},{"key":"atypb34","doi-asserted-by":"crossref","first-page":"767","DOI":"10.1016\/0022-0000(84)90004-7","volume":"29","author":"Goodman N.","year":"1984","journal-title":"J. Comput. System Sci."},{"key":"atypb35","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2013.12.012"},{"key":"atypb36","doi-asserted-by":"crossref","unstructured":"G. Greco and F. Scarcello,\n                      The power of tree projections: Local consistency, greedy algorithms, and larger islands of tractability\n                      , in Proceedings of PODS'10, 2010, pp. 327-338.","DOI":"10.1145\/1807085.1807127"},{"key":"atypb37","doi-asserted-by":"publisher","DOI":"10.1007\/s10601-012-9129-8"},{"key":"atypb38","doi-asserted-by":"crossref","unstructured":"G. Greco and F. Scarcello,\n                      Structural tractability of constraint optimization\n                      , in Proceedings of CP'11, 2011, pp. 340-355.","DOI":"10.1007\/978-3-642-23786-7_27"},{"key":"atypb39","doi-asserted-by":"crossref","unstructured":"G. Greco and F. Scarcello,\n                      Counting solutions to conjunctive queries: Structural and hybrid tractability\n                      , in Proceedings of PODS'14, 2014, pp. 132-143.","DOI":"10.1145\/2594538.2594559"},{"key":"atypb40","doi-asserted-by":"publisher","DOI":"10.1016\/j.ic.2016.11.004"},{"key":"atypb41","first-page":"54","author":"Grohe M.","year":"2007","journal-title":"J. ACM"},{"key":"atypb42","doi-asserted-by":"publisher","DOI":"10.1145\/2636918"},{"key":"atypb43","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(84)90081-3"},{"key":"atypb44","first-page":"67","author":"Johnson D. S.","year":"1990","journal-title":"MA"},{"key":"atypb45","doi-asserted-by":"crossref","unstructured":"S. Karakashian, R. J. Woodward, C. G. Reeson, B. Y. Choueiry, and C. Bessiere,\n                      A first practical algorithm for high levels of relational consistency\n                      , in Proceedings of AAAI'10, 2010.","DOI":"10.1609\/aaai.v24i1.7535"},{"key":"atypb46","unstructured":"Ph. G. Kolaitis,\n                      Constraint satisfaction, databases, and logic\n                      , in Proceedings of IJCAI'03, 2003, pp. 1587-1595."},{"key":"atypb47","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.2000.1713"},{"key":"atypb48","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.1998.0965"},{"key":"atypb49","first-page":"6","author":"Marx D.","year":"2010","journal-title":"ACM Trans. Algorithms"},{"key":"atypb50","first-page":"60","author":"Marx D.","year":"2013","journal-title":"J. ACM"},{"key":"atypb51","doi-asserted-by":"publisher","DOI":"10.1016\/0095-8956(84)90013-3"},{"key":"atypb52","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2010.04.011"},{"key":"atypb53","doi-asserted-by":"publisher","DOI":"10.1145\/155271.155277"},{"key":"atypb54","first-page":"55","author":"Reingold O.","year":"2008","journal-title":"J. ACM"},{"key":"atypb55","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(80)90036-7"},{"key":"atypb56","doi-asserted-by":"publisher","DOI":"10.1006\/jctb.1993.1027"},{"key":"atypb57","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2006.10.010"},{"key":"atypb58","first-page":"156","author":"Scarcello F.","year":"2008","journal-title":"New York"},{"key":"atypb59","unstructured":"S. Subbarayan and H. Reif Andersen,\n                      Backtracking procedures for hypertree, hyperSpread and connected hypertree decomposition of CSPs\n                      , in Proceedings of IJCAI'07, 2007, pp. 180-185."},{"key":"atypb60","doi-asserted-by":"publisher","DOI":"10.1137\/0213035"},{"key":"atypb61","unstructured":"J. D. Ullman,\n                      Principles of Database and Knowledge Base Systems\n                      , Computer Science Press, Rockville, MD, 1989."},{"key":"atypb62","unstructured":"M. Yannakakis,\n                      Algorithms for acyclic database schemes\n                      , in Proceedings of VLDB'81, 1981, pp. 82-94."}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/16M1090272","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:48:27Z","timestamp":1787338107000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/16M1090272"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,1]]},"references-count":62,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2017,1]]}},"alternative-id":["10.1137\/16M1090272"],"URL":"https:\/\/doi.org\/10.1137\/16m1090272","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,1]]}}}