Multiset Semantics in SPARQL, Relational Algebra, and Datalog

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.

Authors

Institutions

Publication Details

Journal
Semantic Web
Published
2026-05-01
DOI
https://doi.org/10.1177/22104968261439426
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Multiset Semantics in SPARQL, Relational Algebra, and Datalog

Daniel Hernández, Claudio Gutierrez, Renzo Angles
Semantic Web
Semantic Web and Ontologies
article

Multiset Semantics in SPARQL, Relational Algebra, and Datalog

Daniel Hernández, Claudio Gutierrez, Renzo Angles
article en

Abstract

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.

Semantic WebVol. 17(3)
University of Stuttgart (DE), University of Talca (CL), Millennium Institute for Integrative Biology (CL), University of Chile (CL)
Deutsche Forschungsgemeinschaft, Agencia Nacional de Investigación y Desarrollo
Openalex Percentile: Top 7%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Multiset Semantics in SPARQL, Relational Algebra, and Datalog — Daniel Hernández, Claudio Gutierrez, et al. · Semantic Web (2026) | TGRS Research Map | TGRS