Ontology learning from object-relational mapping metadata and relational database

Agus Sutejo, Rahmat Gernowo, Michael Andreas Purwoadi


Ontologies play an important role in representing the semantics of data sources. Building an ontology as a representation of domain knowledge from available data sources is not a simple process, particularly when dealing with relational data, which remains prevalent in existing knowledge systems. In this study, we create an ontology from a relational database using object-relational mapping (ORM) metadata as additional rules for mapping. Our method comprises two main phases: ontology schema construction using ORM metadata and the generation of ontology instances from the relational database. During the initial phase, we analyzed the ORM metadata to map it to an resource description framework schema (RDF(S))-OWL representation of the ontology. In the subsequent phase, we applied mapping rules to convert the relational database (RDB) data into ontological instances, which are then represented as RDF triples. Using ORM metadata, we enhance the accuracy of the resulting ontology, particularly in terms of extracting concepts and hierarchical relationships. This study contributes to the field of ontology learning by showcasing a novel approach that leverages ORM metadata to create ontologies from relational databases.


Ontology; Ontology learning; ORM metadata; RDF; Relational database; Web ontology language

Full Text:


DOI: http://doi.org/10.11591/ijeecs.v33.i2.pp1116-1125


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

The Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

shopify stats IJEECS visitor statistics