A community is a group of graph nodes that are more densely connected to one another than to the rest of the graph. In GraphRAG, communities are detected and summarized during indexing, then reused at query time to help answer questions over a knowledge graph. section 14.1
Used here to:
- cluster related entities before summarization. section 14.1
- support partial responses from multiple graph regions. section 14.1
- improve coverage and diversity compared with conventional RAG. section 14.1
GraphRAG workflow
Source text is chunked, entities and relationships are extracted into a knowledge graph, communities are detected, and each community is summarized for later query-time use. section 14.1
Figure 14.1 The logical blocks and workflow of Microsoft’s GraphRAG proposal
Shows the overall GraphRAG workflow where communities are created during indexing and consumed during query answering. section 14.1



