English

Toward a Method to Generate Capability Ontologies from Natural Language Descriptions

Artificial Intelligence 2024-10-21 v2 Computation and Language

Abstract

To achieve a flexible and adaptable system, capability ontologies are increasingly leveraged to describe functions in a machine-interpretable way. However, modeling such complex ontological descriptions is still a manual and error-prone task that requires a significant amount of effort and ontology expertise. This contribution presents an innovative method to automate capability ontology modeling using Large Language Models (LLMs), which have proven to be well suited for such tasks. Our approach requires only a natural language description of a capability, which is then automatically inserted into a predefined prompt using a few-shot prompting technique. After prompting an LLM, the resulting capability ontology is automatically verified through various steps in a loop with the LLM to check the overall correctness of the capability ontology. First, a syntax check is performed, then a check for contradictions, and finally a check for hallucinations and missing ontology elements. Our method greatly reduces manual effort, as only the initial natural language description and a final human review and possible correction are necessary, thereby streamlining the capability ontology generation process.

Keywords

Cite

@article{arxiv.2406.07962,
  title  = {Toward a Method to Generate Capability Ontologies from Natural Language Descriptions},
  author = {Luis Miguel Vieira da Silva and Aljosha Köcher and Felix Gehlhoff and Alexander Fay},
  journal= {arXiv preprint arXiv:2406.07962},
  year   = {2024}
}

Comments

\c{opyright} 2024 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works

R2 v1 2026-06-28T17:02:43.880Z