Investigating Open Source LLMs to Retrofit Competency Questions in Ontology Engineering
Competency Questions (CQs) are essential in ontology engineering; they express an ontology's functional requirements as natural language questions, offer crucial insights into an ontology's scope and are pivotal for various tasks, e.g. ontology reuse, testing, requirement specification, and pattern definition. Despite their importance, the practice of publishing CQs alongside ontological artefacts is not commonly adopted. We propose an approach based on Generative AI, specifically Large Language Models (LLMs) for retrofitting CQs from existing ontologies and we investigate how open LLMs (i.e. Llama-2-70b, Mistral 7B and Flan-T5-xl) perform in generating CQs for existing ontologies. We compare these results with our previous efforts using closed-source LLMs and we reflect on the results.
Authors
- Terry R. Payne (ORCID: https://orcid.org/0000-0002-0106-8731)
- Valentina Tamma (ORCID: https://orcid.org/0000-0002-1320-610X)
- Reham Alharbi (ORCID: https://orcid.org/0000-0002-8332-3803)
- Floriana Grasso (ORCID: https://orcid.org/0000-0001-8419-6554)
Institutions
- University of Liverpool (GB)
- Taibah University (SA)
Publication Details
- Journal
- Proceedings of the AAAI Symposium Series
- Published
- 2024-11-08
- DOI
- https://doi.org/10.1609/aaaiss.v4i1.31793
- Citations
- 3
- Primary Topic
- Semantic Web and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 1.04