cs.HCOct 16, 2026

Designing for Imperfect Prompts: A Simulation-Based Evaluation of an LLM-Based Enterprise Data Assistant Using Knowledge Graphs

Authors: Niklas Wagner, Alexander Mädche

Organizations: Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany

Abstract

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.

Explore similar work

CardsList
  1. AgentOnto: Ontology-Guided LLM Agents for Enterprise Data Analytics

    Oct 16, 2026Dayan Pan, Bincheng Zuo, Xiaojian Wang +2Enterprise AnalyticsData Analysis Agents

  2. SEGRA: Structured Experience-Guided Graph Reasoning Agent for Gremlin Based Question Answering

    Jul 21, 2026Saiyue Lyu, Mariam Dundua, Vishaal Kapoor +5LLM Reasoning with GraphsLLM Agent Skill Learning