REVIEW 3 major objections 5 minor 20 references
From SQL Errors to Concept Gaps: An AI-Powered Knowledge Graph Analytics Platform for Personalized Feedback
T0 review · 3 major / 5 minor · reviewed 2026-08-08 · deepseek-v4-flash
Pith's one-line read A knowledge-graph pipeline traces failed SQL submissions back to the course concepts a student has not mastered.
desk verdict A genuinely new integration of SQL error classification and educational knowledge graphs, with an acknowledged prerequisite-edge risk that needs better quantification; worth a serious review. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the course knowledge graph: concept nodes extracted from lecture slides by an LLM, canonicalized through a concept table, and connected by two relation types, PART_OF for compositional structure and DEPENDS_ON for prerequisite dependencies. Student submissions enter the graph asynchronously as typed paths linking student, assessment, question, and error entities, while a question-tagging layer associates each assessment question with the concept nodes it exercises. The error-to-concept associations come from a two-stage feedback module: a general-purpose LLM detects the semantic error, and a fine-tuned filter removes solution-revealing content. Progress analytics then compute per-concept completion as $P_c = \frac{N^{\text{correct}}_c}{N^{\text{possible}}_c} \times 100\%$ and surface low-mastery concepts as personalized focus targets. Instructors can accept, reject, or modify proposed relations through a reconciliation step before they enter the graph.
What would settle it
Run the pipeline on a course where instructors have published a definitive prerequisite ordering, then measure how often the extracted DEPENDS_ON direction disagrees with that ordering; if disagreement is common, concept-level diagnosis will systematically recommend the wrong review material.
Extended reading notes
Core claim
The central claim is that mapping student SQL errors to nodes in an extracted course knowledge graph yields actionable diagnostic insight that binary pass/fail grading cannot provide. The platform combines deterministic execution-based grading with LLM-generated semantic feedback, then synchronizes attempts into a graph database as typed student-assessment-question-error paths connected to concept nodes through PART_OF and DEPENDS_ON edges. Evaluated across two database courses, the system produced graphs that aligned with instructor mental models and error labels that pointed directly to what a question is testing. The authors position the work as bridging two previously separate strands: SQL error research and educational knowledge graphs.
Load-bearing premise
The system's diagnosis is only as reliable as the prerequisite arrows between concepts, and the language model sometimes draws those arrows backwards, as experts in both courses reported.
Editorial extensions
If this is right
- A recurring error such as misusing NATURAL JOIN can be traced not just to JOIN but along DEPENDS_ON and PART_OF edges to prerequisite concepts like SELECT, GROUP BY, and HAVING that a student may need to revisit.
- Instructors get a cohort-level view of persistent concept gaps across assessments rather than isolated per-attempt grades.
- The graph representation lets the system distinguish whether an error is localized to one question or propagates across related concepts.
- The architecture separates deterministic grading from model-assisted interpretation, so immediate feedback remains low-latency while analytics run asynchronously.
- The authors state the design is domain-agnostic and could be extended beyond SQL with adapted extraction prompts and domain-specific ontologies.
Reading between the lines
- The diagnostic value hinges on edge direction; if the LLM reverses prerequisite arrows at the rate experts observed, mastery estimates for prerequisite concepts will be systematically wrong even when node and triplet validity scores look high.
- A stronger test than expert ratings would be a longitudinal comparison of whether students who receive concept-linked feedback show fewer repeated errors on the flagged prerequisite concepts.
- The reported quality percentages likely overstate graph quality when the same model family used for extraction also serves as the automated judge, since the paper's own LLM judge never assigned a zero rating and showed consistent positive bias.
- The progress metric counts any correct concept-linked attempt toward mastery, so a student who guesses correctly once is marked as having the concept; a threshold based on repeated attempts might change the focus-concept lists.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper presents an LLM-assisted platform that extracts course concepts and relations (PART_OF, DEPENDS_ON) from lecture materials, links them to SQL student submissions via a Neo4j graph, and classifies errors at the concept level to provide diagnostic feedback. The system combines execution-based grading with LLM-based semantic feedback and a fine-tuned no-reveal filter, then synchronizes attempts into a knowledge graph for instructor and student analytics. The evaluation consists of an expert study with five participants across two courses (Course A with real submissions and four evaluators; Course B with simulated submissions and one evaluator) plus an automated LLM-as-judge assessment. Reported results are 95.7% of extracted nodes rated at least somewhat valid and 63.8% of triplets rated fully correct by experts, with the LLM judge showing a consistent positive bias. The authors acknowledge that reversed prerequisite edges were flagged by both courses and state that evaluating impact on student learning remains future work.
Significance. If the prerequisite-tracing functionality were reliable, the platform would be a useful bridge between SQL tutoring systems and educational knowledge graphs, and the architecture's separation of deterministic execution grading from model-based semantic interpretation is a sound design choice. The explicit instructor-review reconciliation workflow is a practical strength, as is the authors' transparent reporting of LLM-judge bias and the small evaluation scale. However, the core diagnostic claim—that errors can be traced to specific concepts and prerequisite gaps—depends entirely on the correctness of automatically extracted edge directions, and the paper reports that experts found reversed prerequisite arrows in both courses. This makes the significance conditional: the platform is a plausible and well-motivated prototype, but the current evidence does not yet establish the reliability of the concept-level diagnosis it promises.
major comments (3)
- [Section III-D, Section IV-C, Section V] The central diagnostic claim—that a failed submission can be traced to the specific concepts involved and to prerequisite concepts that may require reinforcement—depends on the orientation of DEPENDS_ON and PART_OF edges extracted from lecture materials. The paper itself reports that evaluators from both courses flagged reversed prerequisite arrows (Section IV-C) and that determining which concept is the prerequisite 'requires pedagogical reasoning that current LLMs do not always handle reliably' (Section V). Table II shows that only 63.8% of triplets were rated fully correct, yet no separate accuracy figure is reported for edge direction specifically. As a result, the evaluation does not quantify how often the system would direct a student to the wrong prerequisite concept, which is a load-bearing failure mode for the main contribution. Please report per-edge-type and per-direction accuracy, separate raw extraction quality from post-review quality, and either fix the edge-orientation problem or substantially soften the prerequisite-tracing claim.
- [Section IV-A, Section IV-B, Table II] The evidence for the overall claims is very thin relative to their strength. Course A has four evaluators and real submissions, but Course B has a single evaluator and simulated submissions; the combined percentages in Table II pool these very different conditions. The 95.7% node figure uses the low bar of 'at least somewhat valid' (a nonzero rating), which hides the fact that only 60.9% of nodes were rated fully valid. The higher Course B scores are acknowledged by the authors as possibly reflecting the absence of inter-rater variability rather than a genuine difference. Please report per-evaluator and per-course results, exact item counts, inter-rater agreement (e.g., Cohen's kappa or percent agreement with chance correction), and avoid pooling Course A and Course B in headline numbers. Without this, the claim that the graphs 'align with instructor mental models' is not supported at the level asserted.
- [Section IV-B, Section V] The automated LLM-as-judge evaluation cannot serve as independent confirmation of the knowledge-graph or error-classification results. The judge is an LLM (GPT-4o-mini) evaluating outputs of an LLM-based extraction pipeline, and the authors report that it never assigned a score of 0 and exhibited a consistent positive bias. This is a circularity risk: the judge may share systematic biases with the extraction model, and the paper's own data show the LLM ratings diverge from expert ratings (90.7% vs. 60.9% fully valid nodes; 4.00 uniform overall quality vs. expert range 3.25–4.75). I recommend either removing the LLM-judge results from the main evidence for correctness, or explicitly repositioning them as a screening tool with the reported bias acknowledged as a limitation, not as corroboration.
minor comments (5)
- [Section III-D, Figure 2] The example 'GROUP BY is part of SELECT clause' is semantically confusing, especially because PART_OF and DEPENDS_ON are the two relation types being evaluated; please clarify whether this is a compositional or prerequisite relation and make the figure consistent with the definitions in the text.
- [Section III-E, Eq. (1)] The definition of P_c is unclear: 'N possible_c' is described as the number of eligible student-question opportunities, but the text does not define 'eligible' or specify whether multiple attempts by the same student count once or multiple times. Please state the counting rule explicitly.
- [Section IV-A] The paper says 'up to 27 sampled concept nodes and up to 23 sampled triplets' but Table II reports percentages without exact counts; please include the actual number of items rated per course and per metric so the percentages can be interpreted.
- [Section III-C] The phrase 'approximately 123 human-curated non-revealing feedback examples' should give the exact count or a clear justification for the approximation, since the fine-tuned model's behavior is part of the system description.
- [Abstract and Section I] The term 'HAVING' is rendered as 'HA VING' in the abstract and near the introduction examples; please fix the spacing.
Circularity Check
No significant circularity: the central claims rest on expert review against course materials, and the self-cited and LLM-judge components are auxiliary rather than load-bearing.
full rationale
The paper's derivation chain is not circular. Course concepts and relations are proposed by an LLM from lecture materials, but the platform includes an instructor review step before triplets enter the knowledge graph, and the primary evaluation is an expert study in which instructors and TAs rate nodes, triplets, and error classifications against their own course materials. This is an external benchmark independent of the extraction model. The automated LLM-as-a-judge evaluation is explicitly auxiliary: the paper reports that the judge never assigns zero and shows positive bias, and it concludes that LLM evaluation 'may serve as a scalability tool for initial screening rather than a replacement for expert review.' Self-citations to CodeLens and InstructKG describe prior components and design inspiration, but no central claim is justified solely by those citations, and no equation or metric reduces to its own input. The reversed-edge concern flagged by evaluators is a correctness and reliability risk in prerequisite tracing, not a circularity: the system's output is judged against instructor mental models, and the failure mode is empirically observed rather than assumed away. Overall, the central contribution is an engineering integration evaluated by human experts, so no circular step is exhibited.
Assumptions & free parameters
assumptions (4)
- domain assumption LLM-extracted concepts and relations from lecture materials represent the true conceptual structure of the course.
- domain assumption Each assessment question can be tagged with the set of concepts it tests, and this tagging is correct.
- domain assumption An error label (e.g., JOIN) on a question tagged with concepts C1..Ck indicates a knowledge gap in all of C1..Ck and their prerequisites.
- domain assumption Off-the-shelf LLMs produce usable extractions and judgments; the fine-tuned feedback filter is reliable.
Cite this review
Pith. "Pith review of From SQL Errors to Concept Gaps: An AI-Powered Knowledge Graph Analytics Platform for Personalized Feedback." pith.science (2026). https://pith.science/paper/K6I7L2AS
@misc{pith2026260803118,
author = {Pith},
title = {Pith review of: From SQL Errors to Concept Gaps: An AI-Powered Knowledge Graph Analytics Platform for Personalized Feedback},
year = {2026},
howpublished = {\url{https://pith.science/paper/K6I7L2AS}},
note = {Machine review of arXiv:2608.03118}
}
read the original abstract
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.
Figures
Reference graph
Works this paper leans on
-
[1]
Students’ semantic mistakes in writing seven different types of sql queries,
A. Ahadi, J. Prior, V . Behbood, and R. Lister, “Students’ semantic mistakes in writing seven different types of sql queries,” inProceedings of the 2016 ACM Conference on Innovation and Technology in Computer Science Education, 2016, pp. 272–277
work page 2016
-
[2]
Errors and complications in sql query formulation,
T. Taipalus, M. Siponen, and T. Vartiainen, “Errors and complications in sql query formulation,”ACM Transac- tions on Computing Education (TOCE), vol. 18, no. 3, pp. 1–29, 2018
work page 2018
-
[3]
What to expect and what to focus on in sql query teaching,
T. Taipalus and P. Per ¨al¨a, “What to expect and what to focus on in sql query teaching,” inProceedings of the 50th ACM Technical Symposium on Computer Science Education, 2019, pp. 198–203
work page 2019
-
[4]
Insights from student solutions to sql homework prob- lems,
S. Poulsen, L. Butler, A. Alawini, and G. L. Herman, “Insights from student solutions to sql homework prob- lems,” inProceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Educa- tion, 2020, pp. 404–410
work page 2020
-
[5]
Analyz- ing patterns in student sql solutions via levenshtein edit distance,
S. Yang, Z. Wei, G. L. Herman, and A. Alawini, “Analyz- ing patterns in student sql solutions via levenshtein edit distance,” inProceedings of the eighth ACM conference on learning@ scale, 2021, pp. 323–326
work page 2021
-
[6]
S. Yang, Z. Li, G. L. Herman, K. Cunningham, and A. Alawini, “Uncovering patterns of sql errors in stu- dent assignments: a comparative analysis of different assignment types,” in2023 IEEE Frontiers in Education Conference (FIE). IEEE, 2023, pp. 01–09
work page 2023
-
[7]
Edukg: a heterogeneous sustainable k-12 educational knowledge graph,
B. Zhao, J. Sun, B. Xu, X. Lu, Y . Li, J. Yu, M. Liu, T. Zhang, Q. Chen, H. Liet al., “Edukg: a heterogeneous sustainable k-12 educational knowledge graph,”arXiv preprint arXiv:2210.12228, 2022
arXiv 2022
-
[8]
Learning sql program- ming with interactive tools: From integration to person- alization,
P. Brusilovsky, S. Sosnovsky, M. V . Yudelson, D. H. Lee, V . Zadorozhny, and X. Zhou, “Learning sql program- ming with interactive tools: From integration to person- alization,”ACM Transactions on Computing Education (TOCE), vol. 9, no. 4, pp. 1–15, 2010
work page 2010
Show all 20 references
-
[9]
Enhancing feedback gener- ation for autograded sql statements to improve student learning,
C. Kleiner and F. Heine, “Enhancing feedback gener- ation for autograded sql statements to improve student learning,” inProceedings of the 2024 on Innovation and Technology in Computer Science Education V . 1, 2024, pp. 248–254
2024
-
[10]
A systematic literature review of knowledge graph construction and application in education,
B. Abu-Salih and S. Alotaibi, “A systematic literature review of knowledge graph construction and application in education,”Heliyon, vol. 10, no. 3, 2024
2024
-
[11]
Ace: Ai-assisted con- struction of educational knowledge graphs with prereq- uisite relations,
M. C. Aytekin, Y . Saygınet al., “Ace: Ai-assisted con- struction of educational knowledge graphs with prereq- uisite relations,”Journal of Educational Data Mining, vol. 16, no. 2, pp. 85–114, 2024
2024
-
[12]
Educational mate- rial to knowledge graph conversion: A methodology to enhance digital education,
M. Canal-Esteve and Y . Guti ´errez, “Educational mate- rial to knowledge graph conversion: A methodology to enhance digital education,” inProceedings of the 1st Workshop on Knowledge Graphs and Large Language Models (KaLLM 2024), 2024, pp. 85–91
2024
-
[13]
Identifying sql misconceptions of novices: Findings from a think- aloud study,
D. Miedema, E. Aivaloglou, and G. Fletcher, “Identifying sql misconceptions of novices: Findings from a think- aloud study,”ACM Inroads, vol. 13, no. 1, pp. 52–65, 2022
2022
-
[14]
Begrading: large language models for enhanced feedback in programming educa- tion,
M. Yousef, K. Mohamed, W. Medhat, E. H. Mohamed, G. Khoriba, and T. Arafa, “Begrading: large language models for enhanced feedback in programming educa- tion,”Neural Computing and Applications, vol. 37, no. 2, pp. 1027–1040, 2025
2025
-
[15]
Sql autograder: Web-based llm-powered autograder for assessment of sql queries,
K. Manikani, R. Chapaneri, D. Shetty, and D. Shah, “Sql autograder: Web-based llm-powered autograder for assessment of sql queries,”International Journal of Ar- tificial Intelligence in Education, pp. 1–31, 2025
2025
-
[16]
Enhancing sql education: Auto- mated feedback and assessment using generative ai,
P. Lai and S. M. Hui, “Enhancing sql education: Auto- mated feedback and assessment using generative ai,” in 2025 IEEE International Conference on Teaching, As- sessment, and Learning for Engineering (TALE). IEEE, 2025, pp. 1–5
2025
-
[17]
Codelens: A generative ai framework for automated feedback on sql assignments,
A. Alrabah and A. Alawini, “Codelens: A generative ai framework for automated feedback on sql assignments,” inProceedings of the 4th International Workshop on Data Systems Education: Bridging Education Practice with Education Research, 2025, pp. 29–34
2025
-
[18]
Inferring prerequisite knowledge concepts in educa- tional knowledge graphs: A multi-criteria approach,
R. Alatrash, M. A. Chatti, N. Wibowo, and Q. U. Ain, “Inferring prerequisite knowledge concepts in educa- tional knowledge graphs: A multi-criteria approach,” in International Joint Conference on Knowledge Graphs. Springer, 2025, pp. 288–303
2025
-
[19]
Instructor-aligned knowledge graphs for personalized learning,
A. AlRabah, P. Kargupta, J. Han, and A. Alawini, “Instructor-aligned knowledge graphs for personalized learning,”arXiv preprint arXiv:2602.17111, 2026
2026
-
[20]
Judging LLM-as-a-judge with MT-Bench and Chatbot Arena,
L. Zheng, W.-L. Chiang, Y . Sheng, S. Zhuang, Z. Wu, Y . Zhuang, Z. Lin, Z. Li, D. Li, E. Xinget al., “Judging LLM-as-a-judge with MT-Bench and Chatbot Arena,” inAdvances in Neural Information Processing Systems, 2023
2023
Reviewed August 8, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.