{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,20]],"date-time":"2025-06-20T20:02:49Z","timestamp":1750449769045},"reference-count":22,"publisher":"Association for Computing Machinery (ACM)","issue":"3","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Comput. Logic"],"published-print":{"date-parts":[[2005,7]]},"abstract":"<jats:p>\n            The relation between Datalog programs and homomorphism problems and between Datalog programs and bounded treewidth structures has been recognized for some time and given much attention recently. Additionally, the essential role of persistent variables (of program expansions) in solving several relevant problems has also started to be observed. It turns out that to understand the contribution of these persistent variables to the difficulty of some expressibility problems, we need to understand the interrelationship among different notions of\n            <jats:italic>persistency numbers<\/jats:italic>\n            , some of which we introduce and\/or formalize in the present work.This article is a first foundational study of the various persistency numbers and their interrelationships. To prove the relations among these persistency numbers, we had to develop some nontrivial technical tools that promise to help in proving other interesting results too. More precisely, we define the\n            <jats:italic>adorned dependency graph of a program<\/jats:italic>\n            , a useful tool for visualizing sets of persistent variables, and we define automata that recognize persistent sets in expansions.We start by elaborating on finer definitions of expansions and queries, which capture aspects of homomorphism problems on bounded treewidth structures. The main results of this article are (a) a program transformation technique, based on automata-theoretic tools, which manipulates persistent variables (leading, in certain cases, to programs of fewer persistent variables); (b) a categorization of the different roles of persistent variables; this is done by defining four notions of persistency numbers which capture the propagation of persistent variables from a syntactical level to a semantical one; (c) decidability results concerning the syntactical notions of persistency numbers that we have defined; and (d) the exhibition of new classes of programs for which boundedness is undecidable.\n          <\/jats:p>","DOI":"10.1145\/1071596.1071597","type":"journal-article","created":{"date-parts":[[2005,8,3]],"date-time":"2005-08-03T08:30:55Z","timestamp":1123057855000},"page":"481-518","update-policy":"http:\/\/dx.doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Datalog programs and their persistency numbers"],"prefix":"10.1145","volume":"6","author":[{"given":"Foto","family":"Afrati","sequence":"first","affiliation":[{"name":"National Technical University of Athens, Athens, Greece"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Stavros","family":"Cosmadakis","sequence":"additional","affiliation":[{"name":"University of Patras, Patras, Greece"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Eug\u00e9nie","family":"Foustoucos","sequence":"additional","affiliation":[{"name":"National and Capodistrian University of Athens, Athens, Greece"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2005,7]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Abiteboul S. Hull R. and Vianu V. 1995. Foundations of Databases. Addison-Wesley Reading MA.]]   Abiteboul S. Hull R. and Vianu V. 1995. Foundations of Databases. Addison-Wesley Reading MA.]]"},{"key":"e_1_2_1_2_1","unstructured":"Abiteboul S. and Vianu V. 1991. Expressive power of query languages. In Theoretical Studies in Computer Science J. D. Ullman ed. Academic Press New York NY 207--251.]]   Abiteboul S. and Vianu V. 1991. Expressive power of query languages. In Theoretical Studies in Computer Science J. D. Ullman ed. Academic Press New York NY 207--251.]]"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1997.1521"},{"key":"e_1_2_1_4_1","volume-title":"Proceedings of the 21st ACM Symposium on Theory of Computing. 113--126","author":"Afrati F.","unstructured":"Afrati , F. and Cosmadakis , S . 1989. Expressiveness of restricted recursive queries . In Proceedings of the 21st ACM Symposium on Theory of Computing. 113--126 .]] 10.1145\/73007.73018 Afrati, F. and Cosmadakis, S. 1989. Expressiveness of restricted recursive queries. In Proceedings of the 21st ACM Symposium on Theory of Computing. 113--126.]] 10.1145\/73007.73018"},{"key":"e_1_2_1_5_1","doi-asserted-by":"crossref","unstructured":"Ceri S. Gottlob G. and Tanca L. 1990. Logic Programming and Databases. Springer-Verlag Berlin Germany.]]   Ceri S. Gottlob G. and Tanca L. 1990. Logic Programming and Databases. Springer-Verlag Berlin Germany.]]","DOI":"10.1007\/978-3-642-83952-8"},{"key":"e_1_2_1_6_1","volume-title":"Proceedings of the 20th ACM Symposium on Theory of Computing.","author":"Cosmadakis S. S.","unstructured":"Cosmadakis , S. S. , Gaifman , H. , Kanellakis , P. C. , and Vardi , M. Y . 1988. Decidable optimization problems for database logic programs . In Proceedings of the 20th ACM Symposium on Theory of Computing. ( Chicago, IL), 477--490.]] 10.1145\/62212.62259 Cosmadakis, S. S., Gaifman, H., Kanellakis, P. C., and Vardi, M. Y. 1988. Decidable optimization problems for database logic programs. In Proceedings of the 20th ACM Symposium on Theory of Computing. (Chicago, IL), 477--490.]] 10.1145\/62212.62259"},{"key":"e_1_2_1_7_1","volume-title":"Proceedings of the 8th ACM Symposium on Principles of Database Systems (Mar.). 311--323","author":"Cosmadakis S. S.","year":"1989","unstructured":"Cosmadakis , S. S. 1989 . On the first-order expressibility of recursive queries . In Proceedings of the 8th ACM Symposium on Principles of Database Systems (Mar.). 311--323 .]] 10.1145\/73721.73752 Cosmadakis, S. S. 1989. On the first-order expressibility of recursive queries. In Proceedings of the 8th ACM Symposium on Principles of Database Systems (Mar.). 311--323.]] 10.1145\/73721.73752"},{"key":"e_1_2_1_8_1","doi-asserted-by":"crossref","first-page":"466","DOI":"10.1006\/jcss.2001.1806","article-title":"Inherent complexity of recursive queries","volume":"64","author":"Cosmadakis S. S.","year":"2002","unstructured":"Cosmadakis , S. S. 2002 . Inherent complexity of recursive queries . J. Comput. Syst. Sci. 64 , 3, 466 -- 495 .]] Cosmadakis, S. S. 2002. Inherent complexity of recursive queries. J. Comput. Syst. Sci. 64, 3, 466--495.]]","journal-title":"J. Comput. Syst. Sci."},{"key":"e_1_2_1_9_1","volume-title":"No. TR2002\/12\/03","author":"Cosmadakis S. S.","unstructured":"Cosmadakis , S. S. and Foustoucos , E . 2002. Undecidability results concerning Datalog programs and their persistency numbers. Technical rep . No. TR2002\/12\/03 . Research Academic Computer Technology Institute (CTI), Patras, Greece.]] Cosmadakis, S. S. and Foustoucos, E. 2002. Undecidability results concerning Datalog programs and their persistency numbers. Technical rep. No. TR2002\/12\/03. Research Academic Computer Technology Institute (CTI), Patras, Greece.]]"},{"key":"e_1_2_1_10_1","unstructured":"Cosmadakis S. S. Foustoucos E. and Sidiropoulos A. 2003. Undecidability and intractability results concerning Datalog programs and their persistency numbers. Unpublished manuscript submitted for publication July 2004.]]  Cosmadakis S. S. Foustoucos E. and Sidiropoulos A. 2003. Undecidability and intractability results concerning Datalog programs and their persistency numbers. Unpublished manuscript submitted for publication July 2004.]]"},{"key":"e_1_2_1_11_1","volume-title":"Handbook of Theoretical Computer Science","author":"Courcelle B.","unstructured":"Courcelle , B. 1990. Graph rewriting: An algebraic and logic approach . In Handbook of Theoretical Computer Science , Vol. B, J. van Leeuwen, ed. Elsevier, Amsterdam, The Netherlands, 193-- 242 .]] Courcelle, B. 1990. Graph rewriting: An algebraic and logic approach. In Handbook of Theoretical Computer Science, Vol. B, J. van Leeuwen, ed. Elsevier, Amsterdam, The Netherlands, 193--242.]]"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/174130.174142"},{"key":"e_1_2_1_13_1","volume-title":"Lecture Notes in Computer Science","volume":"2136","author":"Gottlob G.","unstructured":"Gottlob , G. , Leone , N. , and Scarcello , F . 2001. Hypertree decompositions: A survey. In Mathematical Foundations of Computer Science (MFCS 2001) . Lecture Notes in Computer Science , vol. 2136 . Springer, Berlin, Germany, 37--57.]] Gottlob, G., Leone, N., and Scarcello, F. 2001. Hypertree decompositions: A survey. In Mathematical Foundations of Computer Science (MFCS 2001). Lecture Notes in Computer Science, vol. 2136. Springer, Berlin, Germany, 37--57.]]"},{"key":"e_1_2_1_14_1","volume-title":"CSL'93: Computer Science Logic","author":"Grohe M.","unstructured":"Grohe , M. 1994. Bounded--arity hierarchies in fixed--point logics . In CSL'93: Computer Science Logic , E. Boerger, Y. Gurevich, and K. Meinke, ed. Lecture Notes in Computer Science, Vol. 832 , Springer , Berlin, Germany, 150--164.]] Grohe, M. 1994. Bounded--arity hierarchies in fixed--point logics. In CSL'93: Computer Science Logic, E. Boerger, Y. Gurevich, and K. Meinke, ed. Lecture Notes in Computer Science, Vol. 832, Springer, Berlin, Germany, 150--164.]]"},{"key":"e_1_2_1_15_1","volume-title":"Proceedings of the 7th International Conference on Database Theory, C. Beeri and P. Buneman, eds. Lecture Notes in Computer Science","volume":"1540","author":"Grohe M.","unstructured":"Grohe , M. and Marino , J . 1999. Definability and descriptive complexity on databases of bounded tree-width . In Proceedings of the 7th International Conference on Database Theory, C. Beeri and P. Buneman, eds. Lecture Notes in Computer Science , vol. 1540 , Springer, Berline, Germany, 70--82.]] Grohe, M. and Marino, J. 1999. Definability and descriptive complexity on databases of bounded tree-width. In Proceedings of the 7th International Conference on Database Theory, C. Beeri and P. Buneman, eds. Lecture Notes in Computer Science, vol. 1540, Springer, Berline, Germany, 70--82.]]"},{"key":"e_1_2_1_16_1","volume-title":"Proceedings of the 32nd ACM Symposium on Theory of Computing (STOC'01)","author":"Grohe M.","unstructured":"Grohe , M. , Schwentick , T. , and Segoufin , L . 2001. When is the evaluation of Conjunctive queries tractable? In Proceedings of the 32nd ACM Symposium on Theory of Computing (STOC'01) . 657--666.]] 10.1145\/380752.380867 Grohe, M., Schwentick, T., and Segoufin, L. 2001. When is the evaluation of Conjunctive queries tractable? In Proceedings of the 32nd ACM Symposium on Theory of Computing (STOC'01). 657--666.]] 10.1145\/380752.380867"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/113413.113414"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539797322140"},{"key":"e_1_2_1_19_1","volume-title":"Proceedings of the 17th ACM Symposium on Principles of Database Systems.]] 10","author":"Kolaitis Ph.","unstructured":"Kolaitis , Ph. and Vardi , M . 1998. Conjunctive-query containment and constraint satisfaction . In Proceedings of the 17th ACM Symposium on Principles of Database Systems.]] 10 .1145\/275487.275511 Kolaitis, Ph. and Vardi, M. 1998. Conjunctive-query containment and constraint satisfaction. In Proceedings of the 17th ACM Symposium on Principles of Database Systems.]] 10.1145\/275487.275511"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1999.1626"},{"key":"e_1_2_1_21_1","volume-title":"Principles of Database and Knowledge-Base Systems, vols","author":"Ullman J. D.","unstructured":"Ullman , J. D. 1989. Principles of Database and Knowledge-Base Systems, vols . I and II. Computer Science Press , Rockville, MD .]] Ullman, J. D. 1989. Principles of Database and Knowledge-Base Systems, vols. I and II. Computer Science Press, Rockville, MD.]]"},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of the 7th ACM Symposium on Principles of Database Systems.","author":"Vardi M. Y.","year":"1988","unstructured":"Vardi , M. Y. 1988 . Decidability and undecidability results for boundedness of linear recursive queries . In Proceedings of the 7th ACM Symposium on Principles of Database Systems. ( Austin, TX). 341--351.]] 10.1145\/308386.308470 Vardi, M. Y. 1988. Decidability and undecidability results for boundedness of linear recursive queries. In Proceedings of the 7th ACM Symposium on Principles of Database Systems. (Austin, TX). 341--351.]] 10.1145\/308386.308470"}],"container-title":["ACM Transactions on Computational Logic"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1071596.1071597","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T13:58:23Z","timestamp":1672235903000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1071596.1071597"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2005,7]]},"references-count":22,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2005,7]]}},"alternative-id":["10.1145\/1071596.1071597"],"URL":"https:\/\/doi.org\/10.1145\/1071596.1071597","relation":{},"ISSN":["1529-3785","1557-945X"],"issn-type":[{"value":"1529-3785","type":"print"},{"value":"1557-945X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2005,7]]},"assertion":[{"value":"2005-07-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}