Generating Domain-Specific Knowledge Graphs from Large Language Models

Knowledge graphs (KGs) have been a cornerstone of search and recommendation due to their ability to store factual knowledge about any domain in a structured form enabling easy search and retrieval.Large language models (LLMs) have shown impressive world knowledge across different benchmarks and domains but their knowledge is inconveniently scattered across their billions of parameters.In this paper, we propose a prompt-based method to construct domain-specific KGs by extracting knowledge solely from LLMs' parameters.First, we use an LLM to create a schema for a specific domain, which contains a set of domain-representative entities and relations.After that, we use the schema to guide the LLM through an iterative data generation process equipped with Chainof-Verification (CoVe) for increased data quality.Using this method, we construct KGs for two domains: books and landmarks, which we then evaluate against Wikidata, an opensource human-created KG.Our results show that LLMs can generate large domain-specific KGs containing tens of thousands of entities and relations.However, due to the increased hallucination rates as the procedure evolves, the utility of large-scale LLM-generated KGs in practical applications could remain limited.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.602
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Generating Domain-Specific Knowledge Graphs from Large Language Models

Marinela Parović, Jinhua Du, Ze Li
Topic Modeling
article

Generating Domain-Specific Knowledge Graphs from Large Language Models

Marinela Parović, Jinhua Du, Ze Li
article en

Abstract

Knowledge graphs (KGs) have been a cornerstone of search and recommendation due to their ability to store factual knowledge about any domain in a structured form enabling easy search and retrieval.Large language models (LLMs) have shown impressive world knowledge across different benchmarks and domains but their knowledge is inconveniently scattered across their billions of parameters.In this paper, we propose a prompt-based method to construct domain-specific KGs by extracting knowledge solely from LLMs' parameters.First, we use an LLM to create a schema for a specific domain, which contains a set of domain-representative entities and relations.After that, we use the schema to guide the LLM through an iterative data generation process equipped with Chainof-Verification (CoVe) for increased data quality.Using this method, we construct KGs for two domains: books and landmarks, which we then evaluate against Wikidata, an opensource human-created KG.Our results show that LLMs can generate large domain-specific KGs containing tens of thousands of entities and relations.However, due to the increased hallucination rates as the procedure evolves, the utility of large-scale LLM-generated KGs in practical applications could remain limited.

Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.