{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,4]],"date-time":"2026-06-04T10:02:05Z","timestamp":1780567325116,"version":"3.54.1"},"reference-count":44,"publisher":"SAGE Publications","issue":"3","license":[{"start":{"date-parts":[[2026,5,1]],"date-time":"2026-05-01T00:00:00Z","timestamp":1777593600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"},{"start":{"date-parts":[[2026,5,1]],"date-time":"2026-05-01T00:00:00Z","timestamp":1777593600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/journals.sagepub.com\/page\/policies\/text-and-data-mining-license"}],"content-domain":{"domain":["journals.sagepub.com"],"crossmark-restriction":true},"short-container-title":["Semantic Web: \u2013 Interoperability, Usability, Applicability"],"published-print":{"date-parts":[[2026,5]]},"abstract":"<jats:p>The paper analyzes and characterizes the algebraic and logical structure of the multiset semantics for SPARQL patterns involving AND, UNION, FILTER, EXCEPT, and SELECT. To do this, we align SPARQL with two well-established query languages: Datalog and Relational Algebra. Specifically, we study (i) a version of nonrecursive Datalog with safe negation extended to support multisets, and (ii) a multiset relational algebra comprising projection, selection, natural join, arithmetic union, and except. We prove that these three formalisms are expressively equivalent under multiset semantics.<\/jats:p>","DOI":"10.1177\/22104968261439426","type":"journal-article","created":{"date-parts":[[2026,5,2]],"date-time":"2026-05-02T12:48:41Z","timestamp":1777726121000},"update-policy":"https:\/\/doi.org\/10.1177\/sage-journals-update-policy","source":"Crossref","is-referenced-by-count":0,"title":["Multiset Semantics in SPARQL, Relational Algebra, and Datalog"],"prefix":"10.1177","volume":"17","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6740-9711","authenticated-orcid":false,"given":"Renzo","family":"Angles","sequence":"first","affiliation":[{"name":"Universidad de Talca"},{"name":"Millennium Institute for Foundational Research on Data, IMFD, Chile"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4559-6544","authenticated-orcid":false,"given":"Claudio","family":"Gutierrez","sequence":"additional","affiliation":[{"name":"Millennium Institute for Foundational Research on Data, IMFD, Chile"},{"name":"Department of Computer Science, Universidad de Chile, Chile"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7896-0875","authenticated-orcid":false,"given":"Daniel","family":"Hern\u00e1ndez","sequence":"additional","affiliation":[{"name":"University of Stuttgart"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"179","published-online":{"date-parts":[[2026,5,2]]},"reference":[{"key":"e_1_3_3_2_1","volume-title":"Foundations of databases","author":"Abiteboul S.","year":"1995","unstructured":"Abiteboul S., Hull R., Vianu V. (1995). Foundations of databases. Addison-Wesley."},{"key":"e_1_3_3_3_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2010.02.017"},{"key":"e_1_3_3_4_1","unstructured":"Albert J. (1991). Algebraic properties of bag data types. In Proceedings of the international conference on very large data bases (VLDB) (pp. 211\u2013219). Morgan Kaufmann Publishers Inc. https:\/\/dl.acm.org\/doi\/10.5555\/645917.672310"},{"key":"e_1_3_3_5_1","doi-asserted-by":"publisher","DOI":"10.14778\/3625054.3625061"},{"key":"e_1_3_3_6_1","doi-asserted-by":"crossref","unstructured":"Angles R. Guti\u00e9rrez C. (2008). The Expressive Power of SPARQL. In Proceedings of the international semantic web conference (ISWC) LNCS (Vol. 5318 pp. 114\u2013129). Springer. https:\/\/doi.org\/10.1007\/978-3-540-88564-1_8","DOI":"10.1007\/978-3-540-88564-1_8"},{"key":"e_1_3_3_7_1","doi-asserted-by":"crossref","unstructured":"Angles R. Guti\u00e9rrez C. (2016). The multiset semantics of SPARQL patterns. In 15th international semantic web conference (ISWC) LNCS (Vol. 9981 pp. 20\u201336). Springer. https:\/\/doi.org\/10.1007\/978-3-319-46523-4_2","DOI":"10.1007\/978-3-319-46523-4_2"},{"key":"e_1_3_3_8_1","unstructured":"Angles R. Gutierrez C. (2016). Negation in SPARQL. In Alberto Mendelzon international workshop on foundations of data management (AMW). https:\/\/ceur-ws.org\/Vol-1644\/paper11.pdf."},{"key":"e_1_3_3_9_1","doi-asserted-by":"publisher","DOI":"10.14778\/3213880.3213888"},{"key":"e_1_3_3_10_1","unstructured":"Bertossi L. Gottlob G. Pichler R. (2019). Datalog: Bag semantics via set semantics. In International conference on database theory (ICDT) (Vol. 127 pp. 16:1\u201316:19). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. https:\/\/doi.org\/10.4230\/LIPIcs.ICDT.2019.16"},{"key":"e_1_3_3_11_1","doi-asserted-by":"crossref","unstructured":"Breazu-Tannen V. Subrahmanyam R. (1991). Logical and computational aspects of programming with sets\/bags\/lists. In Automata languages and programming (pp. 60\u201375). Springer.","DOI":"10.1007\/3-540-54233-7_125"},{"key":"e_1_3_3_12_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.datak.2009.04.001"},{"key":"e_1_3_3_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-008-0122-1"},{"key":"e_1_3_3_14_1","doi-asserted-by":"crossref","unstructured":"Colby L. S. Libkin L. (1997). Tractable iteration mechanisms for bag languages. In International conference on database theory (ICDT) LNCS (Vol. 1186 pp. 461\u2013475). Springer. https:\/\/doi.org\/10.1007\/3-540-62222-5_64","DOI":"10.1007\/3-540-62222-5_64"},{"key":"e_1_3_3_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.is.2020.101604"},{"key":"e_1_3_3_16_1","unstructured":"Cyganiak R. (2005). A relational algebra for SPARQL. Technical Report HPL-2005-170 HP Labs."},{"key":"e_1_3_3_17_1","volume-title":"Date on database: Writings 2000\u20132006","author":"Date C. J.","year":"2006","unstructured":"Date C. J. (2006). Date on database: Writings 2000\u20132006. APress."},{"key":"e_1_3_3_18_1","doi-asserted-by":"crossref","unstructured":"Dayal U. Goodman N. Katz R. H. (1982). An extended relational algebra with control over duplicate elimination. In Proceedings of the symposium on principles of database systems (PODS) (pp. 117\u2013123). ACM. https:\/\/doi.org\/10.1145\/588111.588132","DOI":"10.1145\/588111.588132"},{"key":"e_1_3_3_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2810037"},{"key":"e_1_3_3_20_1","doi-asserted-by":"crossref","unstructured":"Green T. J. (2009). Bag semantics. In Encyclopedia of database systems (pp. 201\u2013206).","DOI":"10.1007\/978-0-387-39940-9_979"},{"key":"e_1_3_3_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/235767.235770"},{"key":"e_1_3_3_22_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1996.0042"},{"key":"e_1_3_3_23_1","doi-asserted-by":"publisher","DOI":"10.14778\/3151113.3151116"},{"key":"e_1_3_3_24_1","unstructured":"Harris S. Seaborne A. (2013). SPARQL 1.1 Query Language \u2013 W3C Recommendation. http:\/\/www.w3.org\/TR\/2013\/REC-sparql11-query-20130321\/."},{"key":"e_1_3_3_25_1","unstructured":"Hern\u00e1ndez D. (2020). The problem of incomplete data in SPARQL. PhD dissertation Universidad de Chile\u2014Faculty of Physical and Mathematical Sciences Santiago Chile. https:\/\/repositorio.uchile.cl\/handle\/2250\/178033."},{"key":"e_1_3_3_26_1","doi-asserted-by":"crossref","unstructured":"Hernich A. Kolaitis P. G. (2017). Foundations of information integration under bag semantics. In 32nd annual ACM\/IEEE symposium on logic in computer science (LICS) (pp. 1\u201312). IEEE. https:\/\/doi.org\/10.1109\/LICS.2017.8005104","DOI":"10.1109\/LICS.2017.8005104"},{"key":"e_1_3_3_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.websem.2014.06.004"},{"key":"e_1_3_3_28_1","doi-asserted-by":"crossref","unstructured":"Kaminski M. Kostylev E. V. Grau B. C. (2016). Semantics and expressive power of subqueries and aggregates in SPARQL 1.1. In Proceedings of the international conference on world wide web (WWW) (pp. 227\u2013238). International World Wide Web Conferences Steering Committee Republic and Canton of Geneva CHE. https:\/\/doi.org\/10.1145\/2872427.2883022","DOI":"10.1145\/2872427.2883022"},{"key":"e_1_3_3_29_1","unstructured":"Klausner A. Goodman N. (1985). Multirelations \u2013 semantics and languages. In Proceedings of international conference on very large data bases (VLDBs) (pp. 251\u2013258). ACM. https:\/\/dl.acm.org\/doi\/10.5555\/1286760.1286783."},{"key":"e_1_3_3_30_1","unstructured":"Kontchakov R. Kostylev E. V. (2016). On expressibility of non-monotone operators in SPARQL. In International conference on the principles of knowledge representation and reasoning (pp. 369\u2013378). AAAI Press. https:\/\/dl.acm.org\/doi\/10.5555\/3032027.3032071."},{"key":"e_1_3_3_31_1","doi-asserted-by":"crossref","unstructured":"Lamperti G. Melchiori M. Zanella M. (2001). On multisets in database systems. In Proceedings of the workshop on multiset processing (pp. 147\u2013216). ACM. https:\/\/dl.acm.org\/doi\/10.5555\/647269.721839.","DOI":"10.1007\/3-540-45523-X_9"},{"key":"e_1_3_3_32_1","doi-asserted-by":"crossref","unstructured":"Libkin L. Wong L. (1994). Some properties of query languages for bags. In Proceedings of the international workshop on database programming languages (DBPL) \u2013 object models and languages (pp. 97\u2013114). ACM. https:\/\/doi.org\/10.1007\/978-1-4471-3564-7_7","DOI":"10.1007\/978-1-4471-3564-7_7"},{"key":"e_1_3_3_33_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1997.1523"},{"key":"e_1_3_3_34_1","unstructured":"Lloyd J. W. (1998). Programming with multisets. Technical report University of Bristol."},{"key":"e_1_3_3_35_1","volume-title":"SQL:1999. Understanding relational language components","author":"Melton J.","year":"2002","unstructured":"Melton J., Simon A. R. (2002). SQL:1999. Understanding relational language components. Morgan Kaufmann Publishers."},{"key":"e_1_3_3_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/93605.98734"},{"key":"e_1_3_3_37_1","unstructured":"Mumick I. S. Pirahesh H. Ramakrishnan R. (1990b). The magic of duplicates and aggregates. In Proceedings of the international conference on very large data bases (pp. 264\u2013277). Morgan Kaufmann Publishers Inc. https:\/\/dl.acm.org\/doi\/10.5555\/94362.94426"},{"key":"e_1_3_3_38_1","unstructured":"P\u00e9rez J. Arenas M. Gutierrez C. (2006). Semantics of SPARQL. Technical Report TR\/DCC-2006-17 Department of Computer Science University of Chile."},{"key":"e_1_3_3_39_1","doi-asserted-by":"crossref","unstructured":"Polleres A. (2007). From SPARQL to rules (and back). In Proceedings of the 16th international world wide web conference (WWW) (pp. 787\u2013796). ACM. https:\/\/doi.org\/10.1145\/1242572.1242679","DOI":"10.1145\/1242572.1242679"},{"key":"e_1_3_3_40_1","doi-asserted-by":"publisher","DOI":"10.1080\/11663081.2013.798992"},{"key":"e_1_3_3_41_1","unstructured":"Prud\u2019hommeaux E. Seaborne A. (2008). SPARQL query language for RDF. W3C recommendation. http:\/\/www.w3.org\/TR\/2008\/REC-115-sparql-query-20080115\/"},{"key":"e_1_3_3_42_1","doi-asserted-by":"crossref","unstructured":"Ricciotti W. Cheney J. (2019). Mixing set and bag semantics. In Proceedings of 17th ACM SIGPLAN international symposium on database programming languages (DBPL) (pp. 70\u201373). ACM. https:\/\/doi.org\/10.1145\/3315507.3330202","DOI":"10.1145\/3315507.3330202"},{"key":"e_1_3_3_43_1","doi-asserted-by":"crossref","unstructured":"Schenk S. (2007). A SPARQL semantics based on Datalog. In Annual German conference on advances in artificial intelligence (Vol. 4667 pp. 160\u2013174). Springer. https:\/\/doi.org\/10.1007\/978-3-540-74565-5_14","DOI":"10.1007\/978-3-540-74565-5_14"},{"key":"e_1_3_3_44_1","doi-asserted-by":"crossref","unstructured":"Schmidt M. Meier M. Lausen G. (2010). Foundations of SPARQL query optimization. In Proceedings of the international conference on database theory (pp. 4\u201333). ACM. https:\/\/doi.org\/10.1145\/1804669.1804675","DOI":"10.1145\/1804669.1804675"},{"key":"e_1_3_3_45_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2014.03.014"}],"container-title":["Semantic Web: \u2013 Interoperability, Usability, Applicability"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.1177\/22104968261439426","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/full-xml\/10.1177\/22104968261439426","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.1177\/22104968261439426","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,4]],"date-time":"2026-06-04T09:13:33Z","timestamp":1780564413000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/10.1177\/22104968261439426"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5]]},"references-count":44,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2026,5]]}},"alternative-id":["10.1177\/22104968261439426"],"URL":"https:\/\/doi.org\/10.1177\/22104968261439426","relation":{},"ISSN":["1570-0844","2210-4968"],"issn-type":[{"value":"1570-0844","type":"print"},{"value":"2210-4968","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5]]},"article-number":"22104968261439426"}}