Retrieval-augmented generation of ontologies from relational databases
Retrieval-augmented generation of ontologies from relational databases
Deriving OWL ontologies from relational database schemas supports semantic interoperability and downstream tasks such as knowledge graph population, ontology-based data access, graph-based learning, and automated reasoning. Existing approaches either require substantial expert effort or produce shallow ontologies that reflect the logical schema structure but fail to fully capture domain semantics. We present RIGOR (Retrieval-augmented Iterative Generation of RDB Ontologies), an LLM-driven pipeline that converts relational schemas into semantically rich OWL2DL ontologies with minimal human intervention. For each relational table, RIGOR generates a direct mapping to guarantee schema coverage, then enriches it via retrieval from three sources: relational schema context and documentation, external domain ontologies, and an ontology that grows incrementally as each validated fragment is integrated. A Gen-LLM produces provenance-annotated ontology fragments (delta ontologies), which are validated and, when needed, corrected by an independent Judge-LLM before integration. Guided by foreign-key constraints, the process iterates over relational tables until the full schema is covered. Experiments across three databases spanning two domains show that RIGOR consistently outperforms baseline methods across standard quality metrics while requiring no human oversight.
Fatallah, Nadeen
b2933cbb-b1be-45c2-933f-fa3bcddf9b4b
Nayyeri, Mojtaba
476e5009-e6fc-45e6-ac7f-c07fe0898632
Aalla, Yogi Athish
351a3e90-c199-42a2-87e7-9790d8d7513c
Thapa, Ratan Bahadur
a37557ce-552f-43c8-857e-e0ae411040e8
Tautenhahn, Hans-Michael
ff799fbb-bd0f-494a-bcc6-3eb0f2ba5b93
Schnurpel, Anton
6a8c7b7c-095b-4ff5-bda2-0f05d88cb421
Staab, Steffen
bf48d51b-bd11-4d58-8e1c-4e6e03b30c49
Fatallah, Nadeen
b2933cbb-b1be-45c2-933f-fa3bcddf9b4b
Nayyeri, Mojtaba
476e5009-e6fc-45e6-ac7f-c07fe0898632
Aalla, Yogi Athish
351a3e90-c199-42a2-87e7-9790d8d7513c
Thapa, Ratan Bahadur
a37557ce-552f-43c8-857e-e0ae411040e8
Tautenhahn, Hans-Michael
ff799fbb-bd0f-494a-bcc6-3eb0f2ba5b93
Schnurpel, Anton
6a8c7b7c-095b-4ff5-bda2-0f05d88cb421
Staab, Steffen
bf48d51b-bd11-4d58-8e1c-4e6e03b30c49
Fatallah, Nadeen, Nayyeri, Mojtaba, Aalla, Yogi Athish, Thapa, Ratan Bahadur, Tautenhahn, Hans-Michael, Schnurpel, Anton and Staab, Steffen
(2026)
Retrieval-augmented generation of ontologies from relational databases.
The 25th International Semantic Web Conference, , Bari, Italy.
25 - 29 Oct 2026.
(In Press)
(doi:10.48550/arXiv.2506.01232).
Record type:
Conference or Workshop Item
(Paper)
Abstract
Deriving OWL ontologies from relational database schemas supports semantic interoperability and downstream tasks such as knowledge graph population, ontology-based data access, graph-based learning, and automated reasoning. Existing approaches either require substantial expert effort or produce shallow ontologies that reflect the logical schema structure but fail to fully capture domain semantics. We present RIGOR (Retrieval-augmented Iterative Generation of RDB Ontologies), an LLM-driven pipeline that converts relational schemas into semantically rich OWL2DL ontologies with minimal human intervention. For each relational table, RIGOR generates a direct mapping to guarantee schema coverage, then enriches it via retrieval from three sources: relational schema context and documentation, external domain ontologies, and an ontology that grows incrementally as each validated fragment is integrated. A Gen-LLM produces provenance-annotated ontology fragments (delta ontologies), which are validated and, when needed, corrected by an independent Judge-LLM before integration. Guided by foreign-key constraints, the process iterates over relational tables until the full schema is covered. Experiments across three databases spanning two domains show that RIGOR consistently outperforms baseline methods across standard quality metrics while requiring no human oversight.
This record has no associated files available for download.
More information
Accepted/In Press date: 30 July 2026
Venue - Dates:
The 25th International Semantic Web Conference, , Bari, Italy, 2026-10-25 - 2026-10-29
Identifiers
Local EPrints ID: 514189
URI: https://eprints.soton.ac.uk/id/eprint/514189
PURE UUID: e4db652c-f508-49d8-8b58-60033dc0978e
Catalogue record
Date deposited: 09 Sep 2026 16:40
Last modified: 13 Sep 2026 15:51
Export record
Altmetrics
Contributors
Author:
Nadeen Fatallah
Author:
Mojtaba Nayyeri
Author:
Yogi Athish Aalla
Author:
Ratan Bahadur Thapa
Author:
Hans-Michael Tautenhahn
Author:
Anton Schnurpel
Author:
Steffen Staab
Download statistics
Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
View more statistics