Are Large Language Models Effective Knowledge Graph Constructors?

Ruirui Chen, Weifeng Jiang, Chengwei Qin, Bo Xiong, Fiona Liausvia, Dongkyu Choi, Boon Kiat QuekarXiv 2025 · DOI

Abstract

Automated Knowledge Graph (KG) construction often results in fragmented "islands" of data due to context blindness and schema rigidity. This paper proposes a hierarchical, bottom-up framework that leverages Large Language Models (LLMs) to perform coreference-aware extraction, entity splitting, and conceptual abstraction. Evaluation on a domain-specific dataset demonstrates significant improvements in graph connectivity, with the fraction in the giant component ($F_{GC}$) increasing from 0.309 to 0.927 for GPT-3.5-Turbo.

Introduction

Knowledge Graphs (KGs) serve as vital structured databases for grounding LLMs and mitigating hallucinations. However, traditional automated construction methods struggle with three primary issues: context blindness (missing coreferences across sentences), schema rigidity (requiring predefined ontologies), and the "island problem" (isolated data clusters caused by inconsistent entity naming). This research investigates whether the reasoning capabilities of LLMs can be harnessed to build well-structured, semantically rich KGs from scratch without a predefined schema.

Methodology

The researchers introduced a hierarchical, bottom-up framework designed to transform LLMs into sophisticated KG constructors. The process involves three distinct stages:

  1. Initial Extraction: Sentences are converted into relational triples (Head, Relation, Tail) using Coreference-Aware Prompting. This ensures pronouns like "it" or "this association" are resolved using surrounding context before extraction.
  2. Splitting: The model identifies "composite mentions"—nodes containing multiple entities (e.g., "A and B"). These are split into distinct nodes linked back to the original context to enhance connectivity.
  3. Abstraction: The model identifies parent concepts for specific entities (e.g., abstracting "infant television viewing" to "media exposure"). This creates a natural taxonomy that links specific data points to broader categories.
The hierarchical framework for KG construction, showing the progression from initial extraction to abstraction.

To maintain coherence, the framework employs Entity Consistency Prompting for normalization and Source Tracing to ensure every triple remains verifiable by its origin.

Experimental Setup

The framework was evaluated using the Children’s Mental Well-being Dataset, comprising 3,216 sentences from 17 peer-reviewed research papers. This domain was selected for its complex vocabulary and multi-variable relationships, providing a rigorous test for LLM reasoning.

Key Results and Insights

The study tested six models from OpenAI, Google, and Meta, revealing several critical insights:

  • Connectivity Gains: The "Fraction in Giant Component" ($F_{GC}$), a key metric for graph interconnectedness, saw dramatic improvements. As shown in the results table, the addition of splitting and abstraction phases significantly increased the density and connectivity of the resulting graphs.
  • Reasoning vs. Retrieval: Reasoning-oriented models, such as o4-mini, outperformed standard models in "connecting the dots" between disparate sentences, albeit at a slower processing speed.
  • The Role of Abstraction: Abstraction proved to be the most effective step for merging data "islands" into a unified network by identifying high-level conceptual overlaps.
Comparison of graph connectivity (F_GC) and node/edge counts across the three stages of the hierarchical framework.

In head-to-head benchmarks against the existing tool iText2KG, the proposed method achieved superior scores in accuracy (4.34 vs 3.34) and relevance (4.91 vs 3.77) on a 5-point scale.

Limitations and Future Work

While the framework significantly advances automated KG construction, challenges remain. LLMs still struggle with coreference links over very long contexts and can find it difficult to disambiguate similar-looking but distinct entities. Furthermore, the multi-pass hierarchical approach is more computationally expensive than single-pass methods. Future research will focus on "selective extraction" to identify only the most impactful insights, reducing processing overhead while maintaining graph quality.

Summary updated

BibTeX
@misc{chen2025are,
  author = {Ruirui Chen and Weifeng Jiang and Chengwei Qin and Bo Xiong and Fiona Liausvia and Dongkyu Choi and Boon Kiat Quek},
  title = {{Are Large Language Models Effective Knowledge Graph Constructors?}},
  year = {2025},
  eprint = {2510.11297},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.11297},
}
Figure