Designing for Imperfect Prompts: A Simulation-Based Evaluation of an LLM-Based Enterprise Data Assistant Using Knowledge Graphs
Not on the map. Why?
Abstract (arXiv)
Enterprise data assistants using large language models (LLMs) promise democratized data access in organizations. Yet in our real-world deployment within the CFO unit's data lake at an industry partner, we observed that business users frequently pose imperfect prompts that include domain-specific vocabulary and lack schema references or structural information. This Design Science Research study examines automatic resolution using a semantic mediation layer. We design and evaluate two design variants: schema-based mediation via semantic similarity, and knowledge graph-based mediation leveraging an automatically constructed knowledge graph from the data lake. Our simulation-based evaluation using real-world data, supported by LLM-as-a-Judge assessments and human validation, shows that knowledge graph-based mediation outperforms the schema-based approach in Precision, Recall, F1, and preserving user intent. We propose a design principle for knowledge graph-based mediation, demonstrating that structured knowledge representation bridges user intent and database structure and guides the design of enterprise data assistants across skill levels.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 19 of its 39 references that are in the map. Submitted 16 Oct 2026.
Builds on
19 of 39 references.
References · 19
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 653
- 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 267
- 2023Clarify When Necessary: Resolving Ambiguity Through Interaction with LMscited by 116
- 2025MasRouter: Learning to Route LLMs for Multi-Agent Systemscited by 99
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 72
- 2024AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queriescited by 43
- 2023Benchmarking and Improving Text-to-SQL Generation under Ambiguitycited by 42
- 2019A Survey on Knowledge Graph Embeddings with Literals: Which model links better Literal-ly?cited by 33
- 2024PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queriescited by 23
- 2025BIRD-INTERACT: Re-imagining Text-to-SQL Evaluation for Large Language Models via Lens of Dynamic Interactionscited by 22
- 2023Towards Knowledge-Intensive Text-to-SQL Semantic Parsing with Formulaic Knowledgecited by 19
7 more
- 2019Bridging the Semantic Gap with SQL Query Logs in Natural Language Interfaces to Databasescited by 17
- 2025Knowledge Graph-based Retrieval-Augmented Generation for Schema Matchingcited by 15
- 2023AmbiCoref: Evaluating Human and Model Sensitivity to Ambiguous Coreferencecited by 13
- 2024Insights into Natural Language Database Query Errors: From Attention Misalignment to User Handling Strategiescited by 13
- 2025NLI4DB: A Systematic Review of Natural Language Interfaces for Databasescited by 6
- 2022Towards a Complete Direct Mapping From Relational Databases To Property Graphscited by 3
- 2024LLaSA: Large Language and Structured Data Assistantcited by 1
Built on by
Not cited yet.