Adding a knowledge graph layer (ontology + mappings) substantially improves LLM answer accuracy on enterprise SQL: expect major gains for normalized schemas and KPI-style questions.
Key finding
Knowledge-graph context raised GPT-4 execution accuracy from 16.7% to 54.2%.
Numbers: SQL 16.7% → SPARQL 54.2% (Table 1)

