Before Blaming the LLM, Diagnose the Workflow: A Role-Level Difficulty Profile for Translating Natural Language into Ontology-Grounded Statements
Abstract
Natural-language-to-domain-specific-language (NL-to-DSL) semantic parsing systems increasingly translate informal user descriptions into structured artifacts such as Structured Query Language (SQL) queries, Application Programming Interface (API) calls, workflows, formal specifications, and ontology-grounded domain-specific language (DSL) statements. This paper focuses on ontology-grounded Assertion Box (ABox) DSL generation: the translation of natural language domain descriptions into assertion-level DSL statements grounded in a pre-existing ontology vocabulary. In this setting, syntactic validity is often easier to achieve than semantic adequacy. Failures are frequently attributed to weak generator models, but recurring sources of difficulty are also structural: insufficient input, weak domain grounding, output template and vocabulary gaps, weak validation, and non-local repair. We propose a role-level difficulty profile for diagnosing difficulty in ontology-grounded NL-to-DSL semantic parsing at the workflow level. The profile organizes diagnostic variables across five recurring workflow roles: Input, Generator, Output, Validator, and Repairer. The seven variables are input sufficiency, context availability, grounding complexity, template fit, vocabulary coverage, validation strength, and error observability. Practitioners construct the difficulty profile through qualitative judgment over available evidence. This experience-informed, non-exhaustive difficulty profile is intended to support workflow diagnosis and guide redesign or human-in-the-loop intervention.
Create a lesson
Related papers
Efficient Natural Language to Temporal Logic Translation for Real-Time Physical AI
Shared title terminologycs.AIOliver Schön, Adrien Banse, John Lygeros et al.
From Natural Language to Real Schematics: An Automated Workflow for Power Electronics Schematic Synthesis
Shared title terminologycs.AIBowen Su, Huan Chen, Jiahua Ying et al.
Layer-Level Control of Language Model Execution in Agent Frameworks
Shared title terminologycs.AIRan Guan, Yiqi Lin, Xiangxi Tian et al.
SFE-O: An Ontology for Knowledge-Grounded AI in Supercritical CO_2 Biomass Extraction and Fractionation
Shared title terminologycs.AIThomas Pallet, Mario Lezoche, Gianpaolo Leone et al.
MAREval: A Multi-Agent Framework for Evaluating Natural Language Recommendation Explanations
Shared title terminologycs.AIReza Yousefi Maragheh, Jayesh Uddhav Kudase, Aysenur Inan et al.
CSI-TextBench: A Dataset and Benchmark for Language-Grounded Ambient Sensing Perception
Shared title terminologycs.AIGuozhen Zhu, Yuqian Hu, Sakila S Jayaweera et al.