arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.01232cs.DBcs.AI
收藏

从关系数据库中检索增强生成本体

Retrieval-Augmented Generation of Ontologies from Relational Databases

Institute for Artificial Intelligence, University of Stuttgart(人工智能研究所,斯图加特大学);University of Southampton(南安普顿大学);Universitätsklinikum Leipzig(莱比锡大学医院)

Nadeen Fathallah, Mojtaba Nayyeri, Athish A Yogi, Ratan Bahadur Thapa, Hans-Michael Tautenhahn, Anton Schnurpel, Steffen Staab

AI总结:

研究从关系数据库生成语义丰富的OWL2DL本体的问题,提出RIGOR方法,通过大语言模型驱动,从多源检索并迭代生成本体片段,经验证和纠正后集成,实验表明该方法优于基线且无需人工监督。

摘要:

从关系数据库模式派生OWL本体支持语义互操作性和下游任务,如知识图谱填充、基于本体的数据访问、基于图的学习和自动推理。现有方法要么需要大量专家工作,要么产生反映逻辑模式结构但未能充分捕获领域语义的浅层本体。我们提出了RIGOR(关系数据库本体的检索增强迭代生成),这是一个由大语言模型驱动的管道,可在最少人工干预的情况下将关系模式转换为语义丰富的OWL2DL本体。对于每个关系表,RIGOR生成直接映射以保证模式覆盖,然后通过从三个来源检索来丰富它:关系模式上下文和文档、外部领域本体以及随着每个验证片段的集成而增量增长的本体。一个生成大语言模型生成带有出处注释的本体片段(增量本体),在集成之前由独立的判断大语言模型进行验证并在需要时进行纠正。在外部键约束的指导下,该过程在关系表上迭代,直到覆盖整个模式。跨越两个领域的三个数据库的实验表明,RIGOR在标准质量指标上始终优于基线方法,同时不需要人工监督。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑