# ProbSPARQL: Querying Knowledge Graphs with Multi-dimensional, Uncertain Numeric Data

arXiv: https://arxiv.org/abs/2607.18262 · HTML: https://mlsanity.com/paper/2607.18262/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 6 of its 51 references that are in the map.
- First posted on arXiv 16 May 2026.

## Builds on (most cited first, 6 of 6)

- [Knowledge Graphs](https://mlsanity.com/paper/2003.02320/) (2020)
- [SOSA: A Lightweight Ontology for Sensors, Observations, Samples, and Actuators](https://mlsanity.com/paper/1805.09979/) (2018)
- [Certainty in Uncertainty: Reasoning over Uncertain Knowledge Graphs with Statistical Guarantees](https://mlsanity.com/paper/2510.24754/) (2025)
- [Approximating Probabilistic Inference in Statistical EL with Knowledge Graph Embeddings](https://mlsanity.com/paper/2407.11821/) (2024)
- [Efficient Uncertainty Tracking for Complex Queries with Attribute-level Bounds (extended version)](https://mlsanity.com/paper/2102.11796/) (2021)
- [Scalable Uncertainty Reasoning in Knowledge Graphs](https://mlsanity.com/paper/2605.16568/) (2026)

## Abstract (arXiv)

The SFB 1574 Circular Factory is building a shared knowledge graph infrastructure for integrating data about returned products. A central challenge is that circular-factory data include numeric measurements that (i) originate from sensors or are derived from sensor-based measurements, (ii) are frequently multi-dimensional, and (iii) are inherently uncertain, while downstream triage, validation, reliability-modeling, and reassembly-planning modules require queryable uncertainty representations. Current RDF and SPARQL technologies lack native support for harmonized querying and analysis of such uncertain numeric measurement data. To address this gap, we present ProbSPARQL, an upward-compatible SPARQL extension developed as an early-stage query-layer pilot for this infrastructure. ProbSPARQL models uncertain numeric values as random variables whose distributions are encoded by probabilistic RDF literal datatypes, and supports distribution-aware expressions, probabilistic filters, and divergence-based joins. We implement ProbSPARQL on Apache Jena ARQ and expose it through a Fuseki-compatible execution layer. We assess real-data applicability using project-derived measurement fragments covering GMM-encoded uncertainty and histogram-based empirical roughness distributions, and evaluate scalability separately on controlled ontology-conformant benchmarks with up to 5,000 angle-grinder instances and 1.5M triples. The results show feasible in-engine execution, filter-pushdown speedups over application-layer post-processing, and latency-accuracy trade-offs among divergence-join decision strategies.
