Automated Knowledge Graph Construction using Large Language Models and Sentence Complexity Modelling

Sydney Anuyah, Mehedi Mahmud Kaushik, Krishna Dwarampudi, Rakesh Shiradkar, Arjan Durresi +1 more
9/22/2025
15 citations
cs.CL

Official code: KaushikMahmud/CoDe-KG_EMNLP_2025 (22 stars, Python, MIT, last commit 2026-01-27).

Abstract

We introduce CoDe-KG, an open-source, end-to-end pipeline for extracting sentence-level knowledge graphs by combining robust coreference resolution with syntactic sentence decomposition. Using our model, we contribute a dataset of over 150,000 knowledge triples, which is open source.

Show full abstract

We also contribute a training corpus of 7248 rows for sentence complexity, 190 rows of gold human annotations for co-reference resolution using open source lung-cancer abstracts from PubMed, 900 rows of gold human annotations for sentence conversion policies, and 398 triples of gold human annotations. We systematically select optimal prompt-model pairs across five complexity categories, showing that hybrid chain-of-thought and few-shot prompting yields up to 99.8% exact-match accuracy on sentence simplification. On relation extraction (RE), our pipeline achieves 65.8% macro-F1 on REBEL, an 8-point gain over the prior state of the art, and 75.7% micro-F1 on WebNLG2, while matching or exceeding performance on Wiki-NRE and CaRB. Ablation studies demonstrate that integrating coreference and decomposition increases recall on rare relations by over 20%. Code and dataset are available at https://github.com/KaushikMahmud/CoDe-KG_EMNLP_2025

View on arXivView PDF

Code Implementations(1)

MIT
223PythonSep 19, 202510 months agoMIT

Similar Papers

Cite this paper

@article{anuyah2025automated,
  title  = {Automated Knowledge Graph Construction using Large Language Models and Sentence Complexity Modelling},
  author = {Sydney Anuyah and Mehedi Mahmud Kaushik and Krishna Dwarampudi and Rakesh Shiradkar and Arjan Durresi and Sunandan Chakraborty},
  year   = {2025},
  eprint = {2509.17289},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.17289v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.17289.svg)](https://codeofpaper.com/paper/2509.17289)

Discussion