NL2SHACL-Bench: A Benchmark Suite for Natural Language to SHACL Translation
Not on the map. Why?
Abstract (arXiv)
SHACL is a core technology for validating the conformance of RDF knowledge graphs (KGs). Yet, authoring SHACL shapes requires technical expertise that most domain experts lack. Translating natural language requirements into SHACL (NL2SHACL) would lower this barrier. However, there is no dedicated benchmark for NL2SHACL, and evaluating generated shapes requires methods beyond string comparison, as semantically equivalent shapes can differ in serialisation and structure. To tackle these challenges, we present NL2SHACL-Bench, a benchmark suite for natural language to SHACL translation. Using NL2SHACL-Bench, we evaluate four state-of-the-art large language models (LLMs) for this task. Our results show that current LLMs are highly capable of generating syntactically valid SHACL, but still struggle to produce semantically equivalent constraints for complex logical and structural patterns. This indicates that NL2SHACL-Bench provides a meaningful basis for measuring advances in the NL2SHACL state of the art.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 5 of its 19 references that are in the map. First posted on arXiv 24 Jul 2026.
Builds on
5 of 19 references.
References · 5
- 2025Common Foundations for SHACL, ShEx, and PG-Schemacited by 4
- 2025Schema Generation for Large Knowledge Graphs Using Large Language Modelscited by 3
- 2024SHACL2FOL: An FOL Toolkit for SHACL Decision Problemscited by 2
- 2025Automated Validation of Textual Constraints Against AutomationML via LLMs and SHACLcited by 2
- 2024RDFGraphGen: An RDF Graph Generator based on SHACL Shapescited by 1
Built on by
Not cited yet.