Leverage Knowledge Graph and Large Language Model for law article recommendation: A case study of Chinese criminal law

Judicial efficiency is critical to social stability. However, in many countries worldwide, grassroots courts face substantial case backlogs, and judicial decisions remain heavily dependent on judges’ cognitive efforts, with insufficient intelligent tools to enhance efficiency. To address this issue, we propose a highly efficient law article recommendation approach combining a Knowledge Graph (KG) and a Large Language Model (LLM). First, we construct a Case-Enhanced Law Article Knowledge Graph (CLAKG) to store current law articles, historical case information, and their interconnections, alongside an LLM-based automated construction method. Building on this, we propose a closed-loop law article recommendation framework integrating graph embedding-based retrieval and KG-grounded LLM reasoning. Experiments on judgment documents from China Judgments Online demonstrate that our method boosts law article recommendation accuracy from 0.549 to 0.694, outperforming strong baselines significantly. To support reproducibility and future research, all source code and processed datasets are publicly available on GitHub (see Data Availability Statement). • Proposed a novel Case-Enhanced Law Article Knowledge Graph (CLAKG) that integrates law articles and historical case data, enhancing the accuracy of law article recommendations. • Introduced an automated CLAKG construction method that uses a Large Language Model (LLM) to reduce manual input and improve scalability. Developed a closed-loop recommendation system, leveraging LLMs and CLAKG for more accurate law article recommendations while mitigating common issues like hallucinations in LLM outputs. • Achieved significant improvement in accuracy: The proposed method improved law article recommendation accuracy from 0.549 to 0.694, outperforming baseline models such as BERT, DPCNN, TFIDF-RAG, Graph-RAG and Light-RAG.

Authors

Institutions

Publication Details

Journal
Journal of Web Semantics
Published
2026-03-05
DOI
https://doi.org/10.1016/j.websem.2026.100879
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

Leverage Knowledge Graph and Large Language Model for law article recommendation: A case study of Chinese criminal law

Miner Chen, Ye Zhu, Juan Pei, Yi Wang (32470) et al.
Journal of Web Semantics
Topic Modeling
article

Leverage Knowledge Graph and Large Language Model for law article recommendation: A case study of Chinese criminal law

Miner Chen, Ye Zhu, Juan Pei, Yi Wang (32470), Songan Zhang, Yu Zhou, Hao Li (31608), Siyu Chen, Yifan Zhou, Yongming Chen
article en

Abstract

Judicial efficiency is critical to social stability. However, in many countries worldwide, grassroots courts face substantial case backlogs, and judicial decisions remain heavily dependent on judges’ cognitive efforts, with insufficient intelligent tools to enhance efficiency. To address this issue, we propose a highly efficient law article recommendation approach combining a Knowledge Graph (KG) and a Large Language Model (LLM). First, we construct a Case-Enhanced Law Article Knowledge Graph (CLAKG) to store current law articles, historical case information, and their interconnections, alongside an LLM-based automated construction method. Building on this, we propose a closed-loop law article recommendation framework integrating graph embedding-based retrieval and KG-grounded LLM reasoning. Experiments on judgment documents from China Judgments Online demonstrate that our method boosts law article recommendation accuracy from 0.549 to 0.694, outperforming strong baselines significantly. To support reproducibility and future research, all source code and processed datasets are publicly available on GitHub (see Data Availability Statement). • Proposed a novel Case-Enhanced Law Article Knowledge Graph (CLAKG) that integrates law articles and historical case data, enhancing the accuracy of law article recommendations. • Introduced an automated CLAKG construction method that uses a Large Language Model (LLM) to reduce manual input and improve scalability. Developed a closed-loop recommendation system, leveraging LLMs and CLAKG for more accurate law article recommendations while mitigating common issues like hallucinations in LLM outputs. • Achieved significant improvement in accuracy: The proposed method improved law article recommendation accuracy from 0.549 to 0.694, outperforming baseline models such as BERT, DPCNN, TFIDF-RAG, Graph-RAG and Light-RAG.

Journal of Web SemanticsVol. 89
Donghua University (CN), Shanghai Jiao Tong University (CN)
Peace, Justice and strong institutions
Openalex Percentile: Top 38%
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.