A

Code2Onto: Multi-Agent System for Code-Driven Ontology Population

IEEE International Conference on Big Data (BigData), pp. 5642–5651

Abstract

Ontologies have become essential for knowledge representation, enabling structured, machine-readable data encoding to support interoperability, reasoning, and reuse across various domains. However, the adoption of ontologies in real-world workflows remains challenging due to the complexity of ontology population, which often requires manual intervention, domain expertise, and customized pipelines. Existing AI-driven approaches have focused primarily on unstructured or semi-structured data, leaving the unique challenges of program code and its runtime context largely unaddressed. This paper introduces Code2Onto, a novel framework that simplifies the transformation of source code, including runtime context, into validated ontology instances with minimal developer effort. Code2Onto leverages Large Language Models as orchestrators for automating source code analysis, runtime context extraction, and ontology population, supported by a modular Multi-Agent System built on the Model Context Protocol. Besides a detailed description of architectural components, we evaluate the framework's performance in different demonstration tasks, discuss its limitations, and elaborate on future research directions.

Authors 5

  1. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Aachen,Germany

  2. J. Lehmkuhl Aachen

    RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Aachen,Germany

  3. Fraunhofer Institute for Applied Information Technology

    Affiliation as printed

    Fraunhofer FIT,Sankt Augustin,Germany

  4. Stefan Decker Aachen

    RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Aachen,Germany

  5. FernUniversität in Hagen

    Affiliation as printed

    FernUniversität in Hagen,Hagen,Germany

Cited by 1 stored of 1

1 result

No patents citing this paper on Lens.org (checked 2026-10-06).

References 33