Proceedings

LLM4VKG: Leveraging Large Language Models for Virtual Knowledge Graph Construction

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 4715-4723.

https://doi.org/10.24963/ijcai.2025/525

Abstract

Virtual Knowledge Graphs (VKGs) provide an effective solution for data integration but typically require significant expertise for their construction. This process, involving ontology development, schema analysis, and mapping creation, is often hindered by naming ambiguities and matching issues, which traditional rule-based methods struggle to address. Large language models (LLMs), with their ability to process and generate contextually relevant text, offer a potential solution. In this work, we introduce LLM4VKG, a novel framework that leverages LLMs to automatize VKG construction. Experimental evaluation on the RODI benchmark demonstrates that LLM4VKG surpasses state-of-the-art methods, achieving an average F1-score improvement of +17% and a peak gain of +39%. Moreover, LLM4VKG proves robust against incomplete ontologies and can handle complex mappings where current methods fail.

  1. [Anthropic, 2024] Anthropic. Claude 3.5 sonnet. Anthropic blog, 2024.
  2. [Aumueller et al., 2005] D. Aumueller, H. Hai Do, S. Mass- mann, and E. Rahm. Schema and ontology matching with COMA++. In Proc. of SIGMOD'2005, pages 906-908, 2005.
  3. [Azaria et al., 2024] A. Azaria, R. Azoulay, and S. Reches. Chatgpt is a remarkable tool-for experts. Data Intelli- gence, 6(1):240-296, 2024.
  4. [Bizer and Seaborne, 2004] C. Bizer and A. Seaborne. D2RQ-treating non-RDF databases as virtual RDF graphs. In Proc. of ISWC'2004, volume 2004. Springer Hiroshima, 2004.
  5. [Calvanese et al., 2017] D. Calvanese, B. Cogrel, S. Komla- Ebri, R. Kontchakov, D. Lanti, M. Rezk, M. Rodriguez- Muro, and G. Xiao. Ontop: Answering SPARQL queries over relational databases. Semantic Web, 8(3):471-487, 2017.
  6. [Calvanese et al., 2023] D. Calvanese, A. Gal, D. Lanti, M. Montali, A. Mosca, and R. Shraga. Conceptually- grounded mapping patterns for virtual knowledge graphs. Data & Knowledge Engineering, 145:102157, 2023.
  7. [Chen et al., 2024] J. Chen, S. Xiao, P. Zhang, K. Luo, D. Lian, and Z. Liu. BGE M3-embedding: Multi- lingual, multi-functionality, multi-granularity text embed- dings through self-knowledge distillation, 2024.
  8. [Chen, 1976] Peter P. Chen. The Entity-Relationship model: Toward a unified view of data. ACM Trans. on Database Systems, 1(1):9-36, March 1976.
  9. [Chen, 2024] H. Chen. Large knowledge model: Perspec- tives and challenges. Data Intelligence, 6(3):587-620, 2024.
  10. [Das et al., 2012] S. Das, S. Sundara, and R. Cyganiak. R2RML: RDB to RDF mapping language. W3C Rec- ommendation, World Wide Web Consortium, September 2012. Available at http://www.w3.org/TR/r2rml/. Link
  11. [de Medeiros et al., 2015] L. F. de Medeiros, F. Priyatna, and Ó. Corcho. MIRROR: automatic R2RML mapping gener- ation from relational databases. In Proc. of ICWE'2015, volume 9114, pages 326-343. Springer, 2015.
  12. [DeepSeek-AI, 2024] DeepSeek-AI. Deepseek-V3 technical report, 2024.
  13. [Giglou et al., 2024a] H. B. Giglou, J. D'Souza, and S. Auer, editors. LLMs4OL 2024: The 1st Large Language Mod- els for Ontology Learning Challenge, volume 4 of Open Conference Proceedings. TIB Open Publishing, 2024.
  14. [Giglou et al., 2024b] H. B. Giglou, J. D'Souza, F. Engel, and S. Auer. LLMs4OM: Matching ontologies with large language models. CoRR, abs/2404.10317, 2024.
  15. [Gupta et al., 2012] S. Gupta, P. Szekely, C. A. Knoblock, A. Goel, M. Taheriyan, and M. Muslea. Karma: A system for mapping structured sources into the semantic web. In Proc. of the 9th Extended Semantic Web Conf. (ESWC), pages 430-434. Springer, 2012.
  16. [Hertling and Paulheim, 2023] S. Hertling and H. Paulheim. Olala: Ontology matching with large language models. In Proceedings of the 12th Knowledge Capture Conference 2023, K-CAP 2023, Pensacola, FL, USA, December 5-7, 2023, pages 131-139. ACM, 2023.
  17. [Jiménez-Ruiz and Grau, 2011] E. Jiménez-Ruiz and B. Cuenca Grau. Logmap: Logic-based and scalable ontology matching. In International Semantic Web Conference, pages 273-288. Springer, 2011.
  18. [Jiménez-Ruiz et al., 2015] E. Jiménez-Ruiz, E. Kharlamov, D. Zheleznyakov, I. Horrocks, C. Pinkel, M. G. Skjæve- land, E. Thorstensen, and J. Mora. BootOX: Practical mapping of RDBs to OWL 2. In Proc. of ISWC'2015, pages 113-132. Springer, 2015.
  19. [Kommineni et al., 2024] V. K. Kommineni, B. König-Ries, and S. Samuel. From human experts to machines: An LLM supported approach to ontology and knowledge graph construction. CoRR, abs/2403.08345, 2024.
  20. [Li et al., 2024] G. Li, C. Tang, L. Chen, D. Deguchi, T. Ya- mashita, and A. Shimada. LLM-Driven ontology learn- ing to augment student performance analysis in higher ed- ucation. In Knowledge Science, Engineering and Man- agement -17th International Conference, KSEM 2024, Birmingham, UK, August 16-18, 2024, Proceedings, Part III, volume 14886 of Lecture Notes in Computer Science, pages 57-68. Springer, 2024.
  21. [Lo et al., 2024] A. Lo, A. Q. Jiang, W. Li, and M. Jamnik. End-to-End ontology learning with large language models. CoRR, abs/2410.23584, 2024.
  22. [Mogotlane and Dombeu, 2016] K. Mogotlane and J. V. Fonou Dombeu. Automatic conversion of rela- tional databases into ontologies : A comparative analysis of protege plug-ins performances. International journal of Web & Semantic Technology, 7:21-40, 10 2016.
  23. [Mosca et al., 2023] R. Mosca, M. De Santo, and R. Gaeta. Ontology learning from relational database: a review. J. Ambient Intell. Humaniz. Comput., 14(12):16841-16851, 2023.
  24. [Motik et al., 2012] B. Motik, B. C. Grau, I. Horrocks, Z. Wu, A. Fokoue, and C. Lutz. OWL 2 web ontology lan- guage: Profiles. W3C Recommendation, World Wide Web Consortium, http://www.w3.org/TR/owl2-profiles/, 2012. Link
  25. [OpenAI, 2024a] OpenAI. Hello gpt-4o. OpenAI blog, 2024.
  26. [OpenAI, 2024b] OpenAI. Introducing openai o1-preview. OpenAI blog, 2024.
  27. [Pinkel et al., 2013] C. Pinkel, C. Binnig, E. Kharlamov, and P. Haase. IncMap: pay as you go matching of relational schemata to OWL ontologies. In OM, pages 37-48, 2013.
  28. [Pinkel et al., 2018] C. Pinkel, C. Binnig, E. Jiménez-Ruiz, E. Kharlamov, W. May, A. Nikolov, A. S. Bastinos, M. G. Skjæveland, A. Solimando, M. Taheriyan, C. Heupel, and I. Horrocks. RODI: Benchmarking relational-to-ontology mapping generation quality. Semantic Web, 9(1):25-52, 2018.
  29. [Poggi et al., 2008] A. Poggi, D. Lembo, D. Calvanese, G. De Giacomo, M. Lenzerini, and R. Rosati. Linking data to ontologies. J. on Data Semantics, 10:133-173, 2008.
  30. [Qwen, 2024] Team Qwen. Qwen2.5: A party of foundation models, September 2024.
  31. [Sequeda and Miranker, 2015] Juan F. Sequeda and Daniel P. Miranker. Ultrawrap mapper: A semi-automatic relational database to RDF (RDB2RDF) mapping tool. In Serena Villata, Jeff Z. Pan, and Mauro Dragoni, editors, ISWC (Posters & Demos), volume 1486 of CEUR Electronic Workshop Proceedings. CEUR-WS.org, 2015.
  32. [Sequeda et al., 2023] J. Sequeda, D. Allemang, and B. Ja- cob. A benchmark to understand the role of knowledge graphs on large language model's accuracy for question answering on enterprise sql databases, 2023.
  33. [Teymurova et al., 2024] S. Teymurova, E. Jiménez-Ruiz, T. Weyde, and J. Chen. OWL2Vec4OA: Tailoring knowl- edge graph embeddings for ontology alignment. CoRR, abs/2408.06310, 2024.
  34. [Xiao et al., 2019] G. Xiao, L. Ding, B. Cogrel, and D. Cal- vanese. Virtual knowledge graphs: An overview of sys- tems and use cases. Data Intelligence, 1(3):201-223, 2019.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards