Toward a Method to Generate Capability Ontologies from Natural Language Descriptions

Luis Miguel Vieira da Silva, Aljosha Köcher, Felix Gehlhoff, Alexander Fay
6/12/2024
cs.AIcs.CL

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{silva2024toward,
  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},
  year   = {2024},
  eprint = {2406.07962},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.07962v2}
}

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/2406.07962.svg)](https://codeofpaper.com/paper/2406.07962)

Discussion