Exploring the feasibility of ontology-based educational question generation with an LLM

Franco Alberto Cardillo, C. Maria Keet, Zola Mahlaza


Abstract

Educational question generation from structured knowledge, such as represented in knowledge graphs and ontologies, are typically generated by traditional NLP approaches. They face issues of template or grammar generation and the many corner cases to take into account. LLMs are also not assumed to perform well, but then due to hallucinations that are unacceptable for educational questions, and lack of training data in specialised domains of the ontologies may affect more complex question involving more and more expressive axioms. We assessed the question generation problem with 7 ontologies on 7 relatively small LLMs, all executed on GPU-enabled machines, through prompting from 0 to 10-shots on eight different types of educational questions. The first hypothesis, on LLMs producing grammatically better quality sentences but having more hallucinations than the NLP pipeline approach, was falsified, and the larger problem was the answer appearing in the generated question. The second hypothesis, on LLMs performing better with simple subsumption axioms than with ‘complex’ ones, was validated. We conclude that the tested LLMs are not well-suited for reliable ontology verbalisation as question generation, compared to tailored NLP pipelines.

Anthology ID:
2026.inlg-long.70
Volume:
Proceedings of the 19th International Natural Language Generation Conference: Long Papers
Month:
October
Year:
2026
Address:
Utrecht, The Netherlands
Editors:
Guanyi Chen, Laura Perez-Beltrachini, Emiel van Miltenburg
Venue:
INLG
SIG:
SIGGEN
Publisher:
Association for Computational Linguistics
Note:
Pages:
1250–1262
Language:
URL:
https://aclanthology.org/2026.inlg-long.70/
DOI:
Bibkey:
Cite (ACL):
Franco Alberto Cardillo, C. Maria Keet, and Zola Mahlaza. 2026. Exploring the feasibility of ontology-based educational question generation with an LLM. In Proceedings of the 19th International Natural Language Generation Conference: Long Papers, pages 1250–1262, Utrecht, The Netherlands. Association for Computational Linguistics.
Cite (Informal):
Exploring the feasibility of ontology-based educational question generation with an LLM (Cardillo et al., INLG 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.inlg-long.70.pdf