From SQL Errors to Concept Gaps: An AI-Powered Knowledge Graph Analytics Platform for Personalized Feedback
Not on the map. Why?
Abstract (arXiv)
This innovative practice full paper describes an AI-powered knowledge graph platform that connects SQL errors to conceptual gaps in undergraduate and graduate database systems courses. Students learning Structured Query Language (SQL) frequently struggle with semantic errors that reflect conceptual misunderstandings rather than syntax mistakes. A query may execute yet return incorrect results due to gaps spanning related concepts; misusing NATURAL JOIN in place of an explicit subquery reflects intertwined misunderstandings of JOIN, GROUP BY, and HAVING. Autograding systems detect correctness but provide surface-level feedback without connecting errors to the conceptual structure of the course. Educational knowledge graph research has shown the value of structured concept representations for curriculum analysis and adaptive learning, but these approaches have not been applied to diagnosing SQL misconceptions from student submissions. We present a platform that automatically extracts course concepts and relations from instructional materials, links them to student submission traces through a graph database, and classifies errors at the concept level. We evaluate the platform across two database systems courses at two universities, one using real student submissions and one using simulated submissions, through an expert study with five participants and an automated evaluation using an LLM as a judge. Results show that 95.7% of extracted nodes were rated as at least somewhat valid and 63.8% of triplets were rated fully correct. Expert feedback confirmed that the generated graphs align with instructor mental models and that mapping errors to course concepts provides actionable diagnostic insight; evaluating impact on student learning remains future work.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 21 references that are in the map. First posted on arXiv 4 Aug 2026.
Builds on
4 of 21 references.
References · 4
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2022EDUKG: a Heterogeneous Sustainable K-12 Educational Knowledge Graphcited by 3
- 2025Inferring Prerequisite Knowledge Concepts in Educational Knowledge Graphs: A Multi-criteria Approachcited by 3
- 2026Instructor-Aligned Knowledge Graphs for Personalized Learningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MisEdu-RAG: A Misconception-Aware Dual-Hypergraph RAG for Novice Math Teachers
- 2026An Educator-Guided LLM Pedagogical Agent for Scaffolded Feedback in Conceptual Database Design
- 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL
- 2025Mining the Gold: Student-AI Chat Logs as Rich Sources for Automated Knowledge Gap Detection
- 2026ConceptKT: A Benchmark for Concept-Level Deficiency Prediction in Knowledge Tracing
- 2025From Correctness to Comprehension: AI Agents for Personalized Error Diagnosis in Education
- 2024Leveraging Prior Experience: An Expandable Auxiliary Knowledge Base for Text-to-SQL
- 2026K12-KGraph: A Curriculum-Aligned Knowledge Graph for Benchmarking and Training Educational LLMs