APPLYING LLAMAINDEX AND GRAPHRAG FOR KNOWLEDGE GRAPH CONSTRUCTION AND QUERYING

Authors

  • Thuy-A Nguyen https://orcid.org/0009-0005-5812-0843
  • Hùng Đinh
  • Bảo Phạm Ngọc
  • Tấn Nguyễn Quang
  • Nhật Nguyễn Hoàng Minh

Keywords:

Large Language Models, Knowledge Graph, GraphRAG, LLaMAIndex

Abstract

This paper presents a method that combines LLaMA Index and GraphRAG to construct and query knowledge graphs from plain-text data. We introduce an automated pipeline for entity and relation extraction as well as community-based summarization, integrating a large language model (LLM) with a community-detection algorithm. The resulting system supports efficient processing of natural-language queries. Experiments on a tourism dataset from Ho Chi Minh City demonstrate its ability to answer complex queries accurately. Empirical results show that our approach improves query-response effectiveness by approximately 4% compared with using an LLM alone. We also discuss challenges related to computational cost and the need for high-quality data, along with the method’s potential applications in knowledge management and semantic search.

Published

26-01-2026

How to Cite

Nguyen, T.-A., Đinh, H., Phạm Ngọc, B., Nguyễn Quang, T., & Nguyễn Hoàng Minh, N. (2026). APPLYING LLAMAINDEX AND GRAPHRAG FOR KNOWLEDGE GRAPH CONSTRUCTION AND QUERYING. HUFLIT Journal of Science, 9(4), 50–61. Retrieved from https://hjs.huflit.edu.vn/index.php/hjs/article/view/285

Issue

Section

Science and Technology

Categories

Most read articles by the same author(s)

Similar Articles

<< < 1 2 3 4 > >> 

You may also start an advanced similarity search for this article.