GraphRAG enhances retrieval-augmented generation with knowledge graphs, entity summaries, relationship summaries, and community summaries. It connects information scattered across documents so RAG systems can answer complex queries with richer, more explainable context. section 1.0 section 7.0
A typical GraphRAG workflow proceeds through these stages:
- Define entity types suited to the questions and domain. section 7.1
- Extract and summarize entities and relationships from document chunks. section 7.0
- Construct the knowledge graph, detect communities, and generate domain-specific community summaries. section 7.0
- Retrieve context through global search across communities or local search around relevant entities. section 7.0
The Odyssey
The Odyssey provides recurring entities such as Ulysses, along with people, gods, and mystical weapons. Their appearances across text chunks support testing entity extraction and cross-chunk summarization. section 7.1
Figure 7.1 Microsoft’s GraphRAG pipeline. (Image from Edge et al., 2024, licensed under CC BY 4.0)
Use the pipeline figure to inspect how documents become a knowledge graph, summaries, and retrieval-ready outputs. section 7.0




