Does SRL Pave the Road to Explainable Reasoning? Lessons Learned from an Implementer's Perspective

📅 2026-09-03
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
该研究通过实现两个SRL引擎解决了RDF推理缺乏统一标准的问题,评估了它们在经典RDF推理任务中的性能,证明了SRL语言的实用性。
📝 Abstract
The Shape Rules Language (SRL) Working Draft defines how to derive new RDF triples from an RDF graph using inference rules. Each rule matches graph patterns and instantiates triple templates whose output feeds into validation pipelines, SPARQL queries, or further inference. RDF reasoning has traditionally relied on fixed entailment regimes (RDFS, OWL), rule-based ad-hoc languages such as N3, or other implementation-specific solutions without a shared standard. SRL introduces user-defined production rules with a defined grammar, dependency analysis, execution ordering, and termination guarantees. However, no authoritative implementation exists, leaving practitioners with little guidance on how to build a conformant engine or on what problems the language can solve. We implemented two SRL engines and evaluated both on classical RDF reasoning tasks for soundness, completeness, and speed. The first reuses an existing SPARQL query engine and its query parser; the second is a dedicated engine. The SPARQL-based engine reused an existing modular parser for query construction and SPARQL CONSTRUCT for triple production, reducing engine-specific work. The dedicated engine was two to six times faster, the gap widening as rule sets grow. Both engines were validated against the SRL conformance test suite, supplemented by additional use-case-driven tests. A usable SRL engine can be built inexpensively on top of a SPARQL engine, with a moderate speed trade-off that a dedicated implementation recovers. Despite the specification's immaturity, the language already supports practically useful reasoning tasks.
Problem

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

SRL
RDF reasoning
inference rules
conformance
engine implementation
Innovation

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

Shape Rules Language
RDF reasoning
user-defined rules
dedicated engine
SPARQL-based
L
Lander Maes
Ghent University – imec, Belgium
B
Bryan-Elliott Tam
Ghent University – imec, Belgium
J
Jitse De Smet
Ghent University – imec, Belgium
Jos De Roo
Jos De Roo
Ghent University – imec, Belgium
P
Pieter Colpaert
Ghent University – imec, Belgium
Ruben Taelman
Ruben Taelman
IDLab, Ghent University — imec
Web queryingSemantic WebLinked Datadecentralizationversioning