{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T04:25:54Z","timestamp":1750307154582,"version":"3.41.0"},"reference-count":21,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2011,12,1]],"date-time":"2011-12-01T00:00:00Z","timestamp":1322697600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100003977","name":"Israel Science Foundation","doi-asserted-by":"publisher","award":["143\/09"],"award-info":[{"award-number":["143\/09"]}],"id":[{"id":"10.13039\/501100003977","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":[[2011,12]]},"abstract":"<jats:p>When a query is evaluated under bag semantics, each answer is returned as many times as it has derivations. Bag semantics has long been recognized as important, especially when aggregation functions will be applied to query results. This article is the first to focus on bag semantics for tree pattern queries. In particular, the problem of bag equivalence of a large class of tree pattern queries (which can be used to model XPath) is explored. The queries can contain unions, branching, label wildcards, the vertical child and descendant axes, the horizontal following and following-sibling axes, as well as positional (i.e., first and last) axes. Equivalence characterizations are provided, and their complexity is analyzed. As the descendant axis involves a recursive relationship, this article is also the first to address bag equivalence over recursive queries, in any setting.<\/jats:p>","DOI":"10.1145\/2043652.2043657","type":"journal-article","created":{"date-parts":[[2011,12,20]],"date-time":"2011-12-20T17:49:14Z","timestamp":1324403354000},"page":"1-35","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["Bag equivalence of tree patterns"],"prefix":"10.1145","volume":"36","author":[{"given":"Sara","family":"Cohen","sequence":"first","affiliation":[{"name":"Hebrew University, Jerusalem, Israel"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yaacov Y.","family":"Weiss","sequence":"additional","affiliation":[{"name":"Hebrew University, Jerusalem, Israel"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2011,12,19]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Berglund A. 2006. Extensible stylesheet language (XSL) version 1.1. http:\/\/www.w3.org\/TR\/xsl.  Berglund A. 2006. Extensible stylesheet language (XSL) version 1.1. http:\/\/www.w3.org\/TR\/xsl."},{"key":"e_1_2_1_2_1","unstructured":"Boag S. Chamberlin D. Fern\u00e1ndez M. F. Florescu D. Robie J. and Sim\u00e9on J. 2007. XQuery 1.0: An XML query language. http:\/\/www.w3.org\/TR\/xquery.  Boag S. Chamberlin D. Fern\u00e1ndez M. F. Florescu D. Robie J. and Sim\u00e9on J. 2007. XQuery 1.0: An XML query language. http:\/\/www.w3.org\/TR\/xquery."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/153850.153856"},{"key":"e_1_2_1_4_1","unstructured":"Clark J. and DeRose S. 1999. XML path language (XPath) version 1.0. http:\/\/www.w3.org\/TR\/xpath.  Clark J. and DeRose S. 1999. XML path language (XPath) version 1.0. http:\/\/www.w3.org\/TR\/xpath."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-008-0122-1"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1219092.1219093"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/1055686.1055691"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1804669.1804685"},{"key":"e_1_2_1_9_1","unstructured":"Davis M. 1982. Computability and Unsolvability. Dover Publications.  Davis M. 1982. Computability and Unsolvability. Dover Publications."},{"key":"e_1_2_1_10_1","unstructured":"DeRose S. Maler E. and Daniel Jr. R. 2001a. XML pointer language (XPointer) version 1.0. http:\/\/www.w3. org\/TR\/WD-xptr.  DeRose S. Maler E. and Daniel Jr. R. 2001a. XML pointer language (XPointer) version 1.0. http:\/\/www.w3. org\/TR\/WD-xptr."},{"key":"e_1_2_1_11_1","unstructured":"DeRose S. Maler E. and Orchard D. 2001b. XML linking language (XLink) version 1.0. http:\/\/www.w3. org\/TR\/xlink.  DeRose S. Maler E. and Orchard D. 2001b. XML linking language (XLink) version 1.0. http:\/\/www.w3. org\/TR\/xlink."},{"volume-title":"Proceedings of the International Workshop on Knowledge Representation Meets Databases (KRDB).","author":"Deutsch A.","key":"e_1_2_1_12_1","unstructured":"Deutsch , A. and Tannen , V . 2001. Containment and integrity constraints for xpath . In Proceedings of the International Workshop on Knowledge Representation Meets Databases (KRDB). Deutsch, A. and Tannen, V. 2001. Containment and integrity constraints for xpath. In Proceedings of the International Workshop on Knowledge Representation Meets Databases (KRDB)."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/211414.211419"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/42267.42273"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/962446.962448"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-2(3:1)2006"},{"volume-title":"Computational Complexity","author":"Papadimitriou C. M.","key":"e_1_2_1_17_1","unstructured":"Papadimitriou , C. M. 1994. Computational Complexity . Addison-Wesley , Reading, MA . Papadimitriou, C. M. 1994. Computational Complexity. Addison-Wesley, Reading, MA."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1265530.1265541"},{"key":"e_1_2_1_19_1","unstructured":"Thompson H. S. Beech D. Maloney M. and Mendelsohn N. 2004. XML schema part 1: Structures. http:\/\/www.w3.org\/TR\/xmlschema-1.  Thompson H. S. Beech D. Maloney M. and Mendelsohn N. 2004. XML schema part 1: Structures. http:\/\/www.w3.org\/TR\/xmlschema-1."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(96)00039-7"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.5555\/645505.656434"}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2043652.2043657","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2043652.2043657","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T09:54:19Z","timestamp":1750240459000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2043652.2043657"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2011,12]]},"references-count":21,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2011,12]]}},"alternative-id":["10.1145\/2043652.2043657"],"URL":"https:\/\/doi.org\/10.1145\/2043652.2043657","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"type":"print","value":"0362-5915"},{"type":"electronic","value":"1557-4644"}],"subject":[],"published":{"date-parts":[[2011,12]]},"assertion":[{"value":"2010-09-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2011-02-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2011-12-19","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}