Recent advancements in Large Language Models (LLMs) have primarily focused on enhancing task-specific performances by experimenting with prompt design. Despite the proven effectiveness of Metacognitive Prompting (MP), its application in the field of ontology generation remains an uncharted territory. This study addresses this gap by exploring this prompting technique in supporting the ontology design process, particularly with GPT-4, where this strategy has demonstrated consistent superiority over conventional and more direct prompting methods in recent research. Our methodology, named Ontogenia, employs a gold-standard dataset of ontology competency questions translated into SPARQL-OWL queries. This approach allows us to explore various types and stages of knowledge refinement using MP, while adhering to the eXtreme Design methodology, a well-established protocol in ontology design. Finally, the quality and performance of the resulting ontologies are assessed using both standard ontology quality metrics and evaluation by an ontology expert. This research aims to enrich the discussion on methods of ontology generation driven by LLMs by presenting concrete results on the use of metacognitive prompting and ontology design patterns.

Ontogenia: Ontology Generation with Metacognitive Prompting in Large Language Models

Lippolis, Anna Sofia
;
Ceriani, Miguel;Zuppiroli, Sara;Nuzzolese, Andrea Giovanni
2025

Abstract

Recent advancements in Large Language Models (LLMs) have primarily focused on enhancing task-specific performances by experimenting with prompt design. Despite the proven effectiveness of Metacognitive Prompting (MP), its application in the field of ontology generation remains an uncharted territory. This study addresses this gap by exploring this prompting technique in supporting the ontology design process, particularly with GPT-4, where this strategy has demonstrated consistent superiority over conventional and more direct prompting methods in recent research. Our methodology, named Ontogenia, employs a gold-standard dataset of ontology competency questions translated into SPARQL-OWL queries. This approach allows us to explore various types and stages of knowledge refinement using MP, while adhering to the eXtreme Design methodology, a well-established protocol in ontology design. Finally, the quality and performance of the resulting ontologies are assessed using both standard ontology quality metrics and evaluation by an ontology expert. This research aims to enrich the discussion on methods of ontology generation driven by LLMs by presenting concrete results on the use of metacognitive prompting and ontology design patterns.
2025
Istituto di Scienze e Tecnologie della Cognizione - ISTC
9783031789519
9783031789526
Ontology Engineering, Competency Questions, Large Language Models, Metacognitive Prompting
File in questo prodotto:
File Dimensione Formato  
978-3-031-78952-6_38.pdf

solo utenti autorizzati

Descrizione: Lippolis, A.S., Ceriani, M., Zuppiroli, S., Nuzzolese, A.G. (2025). Ontogenia: Ontology Generation with Metacognitive Prompting in Large Language Models. In: Meroño Peñuela, A., et al. The Semantic Web: ESWC 2024 Satellite Events. ESWC 2024. Lecture Notes in Computer Science, vol 15344. Springer, Cham. https://doi.org/10.1007/978-3-031-78952-6_38
Tipologia: Versione Editoriale (PDF)
Licenza: NON PUBBLICO - Accesso privato/ristretto
Dimensione 162.33 kB
Formato Adobe PDF
162.33 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
ESWC_Ontogenia_preprint.pdf

accesso aperto

Descrizione: Lippolis, A.S., Ceriani, M., Zuppiroli, S., Nuzzolese, A.G. (2025). Ontogenia: Ontology Generation with Metacognitive Prompting in Large Language Models. In: Meroño Peñuela, A., et al. The Semantic Web: ESWC 2024 Satellite Events. ESWC 2024. Lecture Notes in Computer Science, vol 15344. Springer, Cham. https://doi.org/10.1007/978-3-031-78952-6_38
Tipologia: Documento in Pre-print
Licenza: Creative commons
Dimensione 294.19 kB
Formato Adobe PDF
294.19 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/534018
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 7
  • ???jsp.display-item.citation.isi??? ND
social impact