A Comparative Study of Competency Question Elicitation Methods from Ontology Requirements

Reham Alharbi, Valentina Tamma, Terry R. Payne, Jacopo de Berardinis
7/1/2025
cs.CL

No official code found. Best implementation: KE-UniLiv/askcq (1 star, last commit 2025-10-30).

Abstract

Competency Questions (CQs) are pivotal in knowledge engineering, guiding the design, validation, and testing of ontologies. A number of diverse formulation approaches have been proposed in the literature, ranging from completely manual to Large Language Model (LLM) driven ones. However, attempts to characterise the outputs of these approaches and their systematic comparison are scarce. This paper presents an empirical comparative evaluation of three distinct CQ formulation approaches: manual formulation by ontology engineers, instantiation of CQ patterns, and generation using state of the art LLMs. We generate CQs using each approach from a set of requirements for cultural heritage, and assess them across different dimensions: degree of acceptability, ambiguity, relevance, readability and complexity. Our contribution is twofold: (i) the first multi-annotator dataset of CQs generated from the same source using different methods; and (ii) a systematic comparison of the characteristics of the CQs resulting from each approach. Our study shows that different CQ generation approaches have different characteristics and that LLMs can be used as a way to initially elicit CQs, however these are sensitive to the model used to generate CQs and they generally require a further refinement step before they can be used to model requirements.

View on arXivView PDF

Code Implementations(1)

KE-UniLiv/askcqCommunity67%

A Comparative Study of Competency Question Elicitation Methods from Ontology Requirements

10Python, Jupyter NotebookApr 29, 202511 months ago

Similar Papers

Cite this paper

@article{alharbi2025comparative,
  title  = {A Comparative Study of Competency Question Elicitation Methods from Ontology Requirements},
  author = {Reham Alharbi and Valentina Tamma and Terry R. Payne and Jacopo de Berardinis},
  year   = {2025},
  eprint = {2507.02989},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.02989v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.02989.svg)](https://codeofpaper.com/paper/2507.02989)

Discussion