mlsanityData to 7 Oct 2026

A RAG Approach for Generating Competency Questions in Ontology Engineering

arXiv 2409.08820 ↗First posted 13 Sep 2024cs.AIcited by 7

On the map: Retrieval-augmented generation → Knowledge-graph and structured-knowledge RAG

Abstract (arXiv)

Competency question (CQ) formulation is central to several ontology development and evaluation methodologies. Traditionally, the task of crafting these competency questions heavily relies on the effort of domain experts and knowledge engineers which is often time-consuming and labor-intensive. With the emergence of Large Language Models (LLMs), there arises the possibility to automate and enhance this process. Unlike other similar works which use existing ontologies or knowledge graphs as input to LLMs, we present a retrieval-augmented generation (RAG) approach that uses LLMs for the automatic generation of CQs given a set of scientific papers considered to be a domain knowledge base. We investigate its performance and specifically, we study the impact of different number of papers to the RAG and different temperature setting of the LLM. We conduct experiments using GPT-4 on two domain ontology engineering tasks and compare results against ground-truth CQs constructed by domain experts. Empirical assessments on the results, utilizing evaluation metrics (precision and consistency), reveal that compared to zero-shot prompting, adding relevant domain knowledge to the RAG improves the performance of LLMs on generating CQs for concrete ontology engineering tasks.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Knowledge-graph and structured-knowledge RAG, one of 15 directions in Retrieval-augmented generation. Builds on 7 of its 19 references that are in the map. First posted on arXiv 13 Sep 2024.

Builds on

7 of 19 references.

References · 7

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2024Seven Failure Points When Engineering a Retrieval Augmented Generation Systemcited by 138
  4. 2021A Good Prompt Is Worth Millions of Parameters: Low-resource Prompt-based Learning for Vision-Language Modelscited by 101
  5. 2023An Experiment in Retrofitting Competency Questions for Existing Ontologiescited by 12
  6. 2021BigCQ: A large-scale synthetic dataset of competency question patterns formalized into SPARQL-OWL query templatescited by 2
  7. 2023Divide and Conquer the EmpiRE: A Community-Maintainable Knowledge Graph of Empirical Research in Requirements Engineeringcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 3.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024OG-RAG: Ontology-Grounded Retrieval-Augmented Generation For Large Language Models
  2. 2025Ontology Learning and Knowledge Graph Construction: A Comparison of Approaches and Their Impact on RAG Performance
  3. 2025Assessing the Capability of Large Language Models for Domain-Specific Ontology Generation
  4. 2026OntoExtend: A Framework for Requirement-driven and Scalable Ontology Extension with LLMs
  5. 2024Domain-Specific Retrieval-Augmented Generation Using Vector Stores, Knowledge Graphs, and Tensor Factorization
  6. 2025KROMA: Ontology Matching with Knowledge Retrieval and Large Language Models
  7. 2024KAG: Boosting LLMs in Professional Domains via Knowledge Augmented Generation
  8. 2024DuetRAG: Collaborative Retrieval-Augmented Generation