ProbSPARQL: Querying Knowledge Graphs with Multi-Dimensional, Uncertain Numeric Data
The authors introduce an upward-compatible SPARQL extension in which uncertain numeric values are encoded as probabilistic RDF literals and treated as random variables. The extension adds distribution-valued and deterministic-valued operators, probabilistic filters and a divergence-based theta join, implemented in Apache Jena ARQ and Fuseki.
Read findings, evidence and limitations
Team, date and review status: Jingcheng Wu, Ratan Bahadur Thapa, Daniel Hernández, Hongkuan Zhou and Steffen Staab. Springer marks the chapter First Online on 23 October 2026 but exposes no time of day, so its position relative to the 04:04:03 UTC strict-window boundary cannot be proved. It is a peer-reviewed ISWC 2026 In-Use track paper in LNCS 17128, pages 362–381. Springer’s citation block labels the chapter 2027 while the same publisher record says “Published: 23 October 2026”; both facts are retained.
Problem: Standard RDF and SPARQL do not natively represent and query multidimensional uncertain numeric measurements as distributions while keeping component, unit, provenance and measurement context.
Contribution of this study: The authors introduce an upward-compatible SPARQL extension in which uncertain numeric values are encoded as probabilistic RDF literals and treated as random variables. The extension adds distribution-valued and deterministic-valued operators, probabilistic filters and a divergence-based theta join, implemented in Apache Jena ARQ and Fuseki.
Method: The prototype supports Gaussian-mixture, Dirichlet and empirical-histogram literal datatypes. Evaluation combines a real circular-factory knowledge-graph fragment with ontology-conformant scaling workloads. The real fragment contains 4,037 triples, 97 samples, 20 process-condition resources, 280 measurements and 163 random variables. Scaling ranges from ten angle grinders and 3,078 triples to 5,000 grinders and 1,535,008 triples. Reported timings are medians of ten runs after three warm-ups on an Apple M4 Pro with 48 GB memory, Java 21 and Jena 6.0.0; run standard deviations were below 5% of the corresponding medians.
Verified results: Compared with deterministic queries, the reported overhead is 1.25–1.42× for retrieval, 1.43–1.60× for cumulative-distribution filtering and 1.70–1.95× for uncertainty-propagating arithmetic. In-engine CDF filtering is reported as 3.41× faster than Python/SciPy post-processing at selectivity 0.01 and 1.96× faster at 0.30. On the hard divergence workload, MC-Strat reaches F1 97.7% at 23.34 ms per pair; Adaptive-Cascade reaches F1 95.9% at 3.27 ms per pair. On the mixed workload, Adaptive-Cascade reaches F1 99.0% at 1.04 ms per pair. The authors report the latter two Adaptive-Cascade configurations as 7.9× and 24.1× faster than MC-Naive, respectively.
Significance: This is an executable semantic-web systems contribution: uncertainty remains inside the RDF/SPARQL query model, and the paper reports explicit latency–accuracy trade-offs rather than presenting probabilistic literals only as a vocabulary proposal.
Limitations: The implementation is an active pilot rather than a production deployment. The theta join retains quadratic worst-case candidate enumeration. Cross-datatype compatible-domain mappings and downstream engineering validation remain open. The evaluation deliberately does not compare runtime with probabilistic database systems because their architectures and data models differ.
Original chapter: https://link.springer.com/chapter/10.1007/978-3-032-42029-9_19
Open camera-ready paper: https://arxiv.org/abs/2607.18262v2
Code: https://github.com/0sidewalkenforcer0/ProbSPARQL