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

📅 2026-05-16
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Existing RDF and SPARQL lack native support for multidimensional uncertain numeric data, hindering the expressive querying of sensor data uncertainty in circular factories. This work proposes ProbSPARQL—an upward-compatible extension of SPARQL that natively supports multidimensional uncertain data at the query layer for the first time. It encodes random variables using probabilistic literals based on Gaussian mixture models and histograms, and introduces distribution-aware expressions, probabilistic filtering, and divergence-based join operations. An execution engine built atop Apache Jena ARQ is compatible with Fuseki and enables query pushdown optimization. Evaluation on real-world circular factory data and a benchmark comprising 5,000 angle grinders and 1.5 million triples demonstrates that ProbSPARQL executes efficiently within the engine, significantly outperforming post-processing at the application layer, while revealing a latency–accuracy trade-off inherent in divergence joins.
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

knowledge graph
uncertain numeric data
multi-dimensional data
SPARQL
probabilistic querying
Innovation

Methods, ideas, or system contributions that make the work stand out.

ProbSPARQL
uncertain numeric data
probabilistic RDF
distribution-aware querying
divergence-based join
🔎 Similar Papers
2024-03-03arXiv.orgCitations: 4