Automated Validation of Textual Constraints Against AutomationML via LLMs and SHACL

📅 2025-06-12
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
In AutomationML (AML) engineering practice, modeling guidelines rely on informal textual constraints, hindering automated validation. To address this, we propose a semi-automatic formalization method integrating large language models (LLMs) with semantic technologies. First, AML models are mapped to OWL ontologies using RML/SPARQL. Second, LLMs translate natural-language rules into executable SHACL constraints—marking the first application of LLMs to SHACL generation without requiring user expertise in ontologies or formal methods. Finally, automated compliance checking and natural-language explanations are provided. Evaluated on a real-world AML recommendation case, our approach enables end-to-end, interpretable verification of complex rules. Preliminary results confirm high accuracy and practical utility, significantly improving the efficiency and traceability of industrial model specification formalization.

Technology Category

Application Category

📝 Abstract
AutomationML (AML) enables standardized data exchange in engineering, yet existing recommendations for proper AML modeling are typically formulated as informal and textual constraints. These constraints cannot be validated automatically within AML itself. This work-in-progress paper introduces a pipeline to formalize and verify such constraints. First, AML models are mapped to OWL ontologies via RML and SPARQL. In addition, a Large Language Model translates textual rules into SHACL constraints, which are then validated against the previously generated AML ontology. Finally, SHACL validation results are automatically interpreted in natural language. The approach is demonstrated on a sample AML recommendation. Results show that even complex modeling rules can be semi-automatically checked -- without requiring users to understand formal methods or ontology technologies.
Problem

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

Automating validation of informal textual constraints in AutomationML
Translating textual rules into SHACL constraints using LLMs
Enabling constraint checking without formal methods expertise
Innovation

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

Map AML models to OWL via RML and SPARQL
Translate textual rules to SHACL using LLM
Automatically interpret SHACL results naturally
🔎 Similar Papers
No similar papers found.
T
Tom Westermann
Institute of Automation, Helmut Schmidt University, Hamburg, Germany
A
Aljosha Kocher
Institute of Automation, Helmut Schmidt University, Hamburg, Germany
Felix Gehlhoff
Felix Gehlhoff
Institute of Automation Technology, Helmut Schmidt University
Agent-based systemsdecentralised scheduling