Glossary
What is GraphRAG?
Last updated
GraphRAG is retrieval-augmented generation that uses a knowledge graph as well as, or instead of, text chunks, so an AI can follow relationships between things and summarise across many sources before it answers, rather than only matching the wording of a question against similar-sounding passages.
Why it matters
Plain RAG is excellent at “find the passage that answers this”, but weaker on questions that depend on how things connect, or that need summarising across many documents rather than one. GraphRAG-Bench, an independent benchmark (final version, February 2026), found plain vector RAG “comparable to or outperforms GraphRAG in simple fact retrieval”, while GraphRAG showed “a clear advantage in complex reasoning, contextual summarisation and creative generation.” The catch is cost: the same research found roughly 40,000 tokens used for a Microsoft GraphRAG global search, against around 1,000 for basic RAG. A separate comparison (arXiv, March 2026) concluded that RAG and GraphRAG have “distinct strengths” and that selecting between them, or combining them, gives the most consistent results. The honest, publishable position is that a graph earns its cost on some questions and not others, which is exactly what the test below is for.
How it works
The pattern we lead with is a curated domain knowledge graph (customers, contracts, products and their relationships) alongside a lexical graph of document chunks, plus entity resolution so the same real-world thing is recognised once, not several times. A question first hits vector or full-text search to find a relevant starting point, then Cypher traversal expands outward along real relationships to build the fuller context an answer needs, with the path it followed available as an explanation. This is a different design from Microsoft’s original GraphRAG approach, which pre-summarises the whole corpus into communities before any question is asked; that repo is now, in its own words, “largely in maintenance mode”, and lighter, query-time approaches have generally overtaken it.
Examples
A facilities firm asking “if this subcontractor fails, which clients, sites and contracts are affected?” gets an answer that shows the chain of contracts and clauses it relied on, because the retrieval followed real relationships rather than matching similar wording. A research consultancy’s assistant answering “what have we found across all our past reports on this topic?” benefits from GraphRAG’s summarising strength, where plain RAG would only surface a handful of the most similar individual passages.
The four-question test
Before reaching for GraphRAG, it is worth asking four things: do your questions follow connections, rather than sit inside one document? Do the same real-world things appear under different names in different systems? Do answers need to be explained and audited, not just stated? Is the corpus mostly “find the right paragraph” rather than “reason across many sources”? A yes to the first three, or a no to the last, is a reasonable signal that a graph will earn its keep. See the four-question graph test worked through in full.
GraphRAG versus plain RAG
| Question | Plain RAG | GraphRAG |
|---|---|---|
| Best at | Simple fact lookups in one or two passages. | Multi-step reasoning and summarising across sources. |
| Explains its working? | Shows the retrieved passage. | Shows the relationship path it followed. |
| Cost | Low: roughly 1,000 tokens per query in benchmark testing. | High: up to roughly 40,000 tokens for a global search. |
| Setup effort | Lower: chunk, embed, index. | Higher: needs a modelled graph and entity resolution. |
Common mistakes
Reaching for GraphRAG as a default. Most “look up the right paragraph” questions are answered well, and far more cheaply, by plain or hybrid search.
Skipping entity resolution first. A graph built on unresolved duplicates inherits the mess rather than fixing it.
Copying Microsoft’s original community-summarisation approach uncritically. It is expensive to index and, by its own maintainers’ account, no longer the actively developed reference point; a curated domain graph plus hybrid retrieval is usually a better starting pattern.
Skipping a baseline comparison. Without testing GraphRAG against plain RAG on your own questions, it is hard to know honestly whether the extra cost and complexity paid for itself.
Frequently asked questions
Do we need a graph database to use GraphRAG?
Generally, yes, a property-graph database such as Neo4j or Graph in Microsoft Fabric, since GraphRAG’s advantage comes from traversing real relationships rather than only matching similar text.
Is GraphRAG always better than plain RAG?
No. Independent benchmarking found plain RAG matches or beats GraphRAG on simple fact lookups, and GraphRAG’s advantage shows up specifically on complex, multi-step or summarising questions, at meaningfully higher cost.
How do we know if GraphRAG is worth it for us?
Run the four-question test on your own likely questions, and where possible test GraphRAG against a plain-search baseline on real examples before committing, so you only pay for a graph where it earns its place.
Is Microsoft’s GraphRAG project still the reference implementation?
Its own repository describes it as largely in maintenance mode. Newer, lighter approaches and first-party libraries (including Neo4j’s) have generally overtaken it for production use.
How this connects
Sources
- GraphRAG-Bench: evaluating GraphRAG against vector RAG. arXiv (2506.05690), February 2026.
- RAG vs GraphRAG: a systematic comparison. arXiv (2502.11371), March 2026.
- GraphRAG. Microsoft (GitHub), 2026.