Skip to content
Preprint

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

Sep 2026 · 0 citations · 17 references
Computer Science

TL;DR

Two SRL engines were implemented and evaluated on classical RDF reasoning tasks for soundness, completeness, and speed, finding 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.

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.

View source

Similar papers

Review Open access 2026

A Semantic Ontology-Based Model for Solidity Smart Contracts With an LLM-Assisted Natural-Language Query Use Case

Smart contracts increasingly support high-value and governance-critical blockchain applications, making precise program understanding important for reliable analysis and tooling. Many existing analysis tools rely on task-specific pipelines in which extracted program knowledge is not readily available as reusable and in...

Udsanee Pakdeetrakulwong, Suksawat Saelim, Naruapon Suwanwijit · 0 citations
Preprint Aug 2026

GrOIL: Graph-Grounded Domain Ontology Induction with Constrained LLM Mediation

A seven-stage graph-grounded pipeline that converts domain documents into a complete, auditable Web Ontology Language (OWL) Terminological Box (TBox) without any unconstrained generation step is presented, demonstrating that the pipeline produces stable, reusable domain representations from large document corpora.

Maruf Ahmed Mridul, A. Talukder, O. Seneviratne · 0 citations

SigmaKEE-rs: An Embedded Ontological Reasoning System with Vampire as a Reusable Library Component

The engineering challenges encountered in adapting Vampire into a reusable component suitable for real-time, multi-query workloads are described, and preliminary performance results comparing the embedded approach with the traditional process-based invocation model used in the original Java-based SigmaKEE are reported.

T.-H. Kim, A. Pease · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.