{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,12]],"date-time":"2025-11-12T16:10:42Z","timestamp":1762963842258,"version":"3.45.0"},"reference-count":14,"publisher":"Association for Computing Machinery (ACM)","issue":"5","funder":[{"name":"Polish National Science Center","award":["2022\/45\/B\/ST6\/00457"],"award-info":[{"award-number":["2022\/45\/B\/ST6\/00457"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2025,11,10]]},"abstract":"<jats:p>Query Containment Problem (QCP) is a fundamental decision problem in query processing and optimization.<\/jats:p>\n                  <jats:p>\n                    While QCP has for a long time been completely understood for the case of set semantics, decidability of QCP for conjunctive queries under multi-set semantics (QCP\n                    <jats:sub>CQ<\/jats:sub>\n                    <jats:sup>bag<\/jats:sup>\n                    ) remains one of the most intriguing open problems in database theory. Certain effort has been put, in the last 30 years, to solve this problem and some decidable special cases of QCP\n                    <jats:sub>CQ<\/jats:sub>\n                    <jats:sup>bag<\/jats:sup>\n                    were identified, as well as some undecidable extensions, including QCP\n                    <jats:sub>UCQ<\/jats:sub>\n                    <jats:sup>bag<\/jats:sup>\n                    .\n                  <\/jats:p>\n                  <jats:p>\n                    In this paper we introduce a new technique which produces, for a given UCQ \u03a6, a CQ \u03c6 such that the application of \u03c6 to a database\n                    <jats:italic toggle=\"yes\">D<\/jats:italic>\n                    is, in some sense, an approximation of the application of \u03a6 to\n                    <jats:italic toggle=\"yes\">D<\/jats:italic>\n                    . Using this technique we could analyze the status of QCP\n                    <jats:sup>bag<\/jats:sup>\n                    when one of the queries in question is a CQ and the other is a UCQ, and we reached conclusions which surprised us a little bit. We also tried to use this technique to translate the known undecidability proof for QCP\n                    <jats:sub>UCQ<\/jats:sub>\n                    <jats:sup>bag<\/jats:sup>\n                    into a proof of undecidability of QCP\n                    <jats:sub>CQ<\/jats:sub>\n                    <jats:sup>bag<\/jats:sup>\n                    . And, as you are going to see, we got stopped just one infinitely small \u03b5 before reaching this ultimate goal.\n                  <\/jats:p>","DOI":"10.1145\/3767711","type":"journal-article","created":{"date-parts":[[2025,11,12]],"date-time":"2025-11-12T15:06:02Z","timestamp":1762959962000},"page":"1-24","source":"Crossref","is-referenced-by-count":0,"title":["Bag Semantics Query Containment: The CQ vs. UCQ Case and Other Stories"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6539-6788","authenticated-orcid":false,"given":"Jerzy","family":"Marcinkowski","sequence":"first","affiliation":[{"name":"University of Wroc\u0142aw, Wroc\u0142aw, Poland"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8021-1638","authenticated-orcid":false,"given":"Piotr","family":"Ostropolski-Nalewaja","sequence":"additional","affiliation":[{"name":"University of Wroc\u0142aw, Wroc\u0142aw, Poland"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2025,11,12]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3375395.3387645"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2010.02.017"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/800105.803397"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/153850.153856"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2017.8005104"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/211414.211419"},{"key":"e_1_2_1_7_1","volume-title":"Towards an algebraic theory of recursion. Journal of the ACM (JACM), 38(2):329-381","author":"Ioannidis Y. E.","year":"1991","unstructured":"Y. E. Ioannidis and E. Wong. Towards an algebraic theory of recursion. Journal of the ACM (JACM), 38(2):329-381, 1991."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1142351.1142363"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/42267.42273"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3294052.3319689"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ejc.2011.03.009"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3651604"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/322217.322221"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1997.1455"}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3767711","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,11,12]],"date-time":"2025-11-12T16:08:59Z","timestamp":1762963739000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3767711"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,11,10]]},"references-count":14,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2025,11,10]]}},"alternative-id":["10.1145\/3767711"],"URL":"https:\/\/doi.org\/10.1145\/3767711","relation":{},"ISSN":["2836-6573"],"issn-type":[{"type":"electronic","value":"2836-6573"}],"subject":[],"published":{"date-parts":[[2025,11,10]]}}}