GraphRAG

A retrieval-augmented generation pattern that uses graph structure to retrieve, connect, and organize evidence more coherently for grounded answers.

Connect two documents before answering

Imagine asking an archive assistant which venue hosted a particular print. No single passage in the collection gives the entire answer.

  1. Find the work

    A checklist names the print in a specific exhibition. The index links the work and exhibition records to that checklist.

  2. Follow the exhibition

    A dated venue notice identifies the gallery that hosted the same exhibition. The shared exhibition identifier connects the sources.

  3. Compose the answer

    The model receives both passages. Its answer can cite the checklist for the print’s inclusion and the notice for the venue.

Check every link in the chain

If a second exhibition had the same title, merging the two records could yield a convincing answer about the wrong venue. Follow each citation and verify the exhibition identity. GraphRAG systems vary in how they build and traverse graphs, and some use summaries of related groups for broader questions.

How It Differs from Plain RAG

A standard RAG system usually retrieves document chunks and feeds them to a model. A GraphRAG system may still use document retrieval, but it also uses graph-aware steps such as entity linking, neighborhood expansion, path scoring, community summaries, or graph-guided reranking. In practice, that often means the graph helps decide what context to retrieve and how to organize it before generation.

GraphRAG is not automatically better than plain RAG. It depends on graph quality, permissions, freshness, and ontology design. If the graph is stale or poorly aligned, the retrieval layer can become confidently wrong. The payoff comes when graph structure adds real semantic signal and keeps multi-hop retrieval more grounded.

Follow the idea

Knowledge graph explains how the source entities and relationships are represented.

Retrieval Augmented Generation (RAG) · Retrieval-augmented generation explains how evidence reaches the answering model.

Source · Microsoft’s GraphRAG documentation

Return to GraphRAG in the A–Z glossary