Search papers, labs, and topics across Lattice.
This paper introduces OntoExtend, a framework that leverages large language models (LLMs) for requirement-driven ontology extension, addressing the challenges of resource intensity and error-proneness in traditional methods. By employing retrieval-augmented generation (RAG) to integrate relevant ontologies and competency questions, OntoExtend generates grounded ontology fragments that meet functional evaluation criteria with minimal structural issues. Evaluations on two use cases demonstrate that the generated extensions require only minor to moderate revisions, highlighting OntoExtend's potential as an effective drafting assistant in real-world ontology development.
OntoExtend enables precise ontology enrichment by directly aligning extensions with emerging requirements, significantly reducing the need for extensive manual revisions.
Ontology extension refers to the process of enriching an existing ontology in response to emerging requirements, making it more complete. This task is a resource-intensive and error-prone process. Large Language Models (LLMs) have shown promising performance on generating ontologies from scratch, but current approaches rarely tie ontology extension explicitly to requirements or reusable core models, and offer limited, systematic evaluation of LLM outputs. This paper introduces OntoExtend, a requirements-driven framework for ontology extension with LLMs. It uses retrieval-augmented generation (RAG) over relevant input ontologies and requirements in the form of competency questions to propose grounded extensions. We evaluate OntoExtend on 39 CQs from two use cases: a public EU-project ontology, Onto-DESIDE, and an industrial ontology from Bosch. The generated fragments show few structural issues, satisfy all functional evaluation tests, and are rated by ontology engineers as requiring minor to moderate revision before integration. These results suggest that OntoExtend is useful as a drafting assistant for requirement-driven ontology extension in real world scenarios, while remaining sensitive to CQ specificity and modelling profile.