What is GraphRAG?
An evolution of RAG that retrieves knowledge from a knowledge graph: the model reasons over entities and relationships, not text chunks.
GraphRAG is the evolution of RAG that replaces (or complements) text-chunk retrieval with the traversal of a knowledge graph: a network of entities (customers, products, plants, contracts) and the relationships connecting them. The model no longer receives just paragraphs similar to the question, but the piece of the graph that concerns it, with the links between facts made explicit. The name became popular after Microsoft Research published an approach under that label, but the underlying idea, anchoring retrieval to relationships between entities rather than pure text similarity, was already in use in a different form inside many enterprise search systems built on knowledge graphs. The practical difference from classic RAG shows up most on multi-hop questions, the ones that require traversing several connected entities before reaching an answer, where similarity-based text retrieval tends to drop pieces of the reasoning chain.
See also: RAGRAG combines search and generation: it retrieves external sources relevant to a question and passes them to a language model, which draws on them to answer.
What it solves compared to classic RAG
Traditional RAG is excellent for point questions ("what does clause 7 of contract X say?") but struggles with questions spanning multiple documents and logical hops: "which customers are exposed if this supplier stops?" requires connecting supplier, components, products and orders. No single text chunk contains the whole answer; the graph does, because relationships are its structure. That is why GraphRAG has taken hold where answers must be traceable and complete: finance, healthcare, manufacturing, compliance.
What adopting it takes
The prerequisite is having (or building) the graph: identifying business entities, defining relationships in a shared ontology and feeding them from source systems. It is a bigger investment than plain RAG, but it is the same investment that makes your data ready for any future AI use: the graph GraphRAG needs is the same one that powers analytics, automation and agents. In practice: you almost always start with simple RAG and move to GraphRAG when questions start requiring more hops than text retrieval can handle.
Research has produced approaches that constrain retrieval to a formal ontology rather than to the graph alone. OG-RAG and ORAG are two independent pieces of research that are alike only in the acronym, not variants of one another. OG-RAG (Microsoft Research) uses a hypergraph of facts mapped onto the ontology, while ORAG enriches the label ontology used to tag entities. Anyone evaluating a vendor has the question to ask right here: OG-RAG's published results rest on an ontology verified by domain experts, and the paper itself lists among its limitations that a domain ontology is not always available or comprehensive enough. The cost of writing that model, in OWL or in a lighter form, belongs in the budget before the retrieval technology, not after it.
Related terms
- RAGRAG combines search and generation: it retrieves external sources relevant to a question and passes them to a language model, which draws on them to answer.
- Knowledge graphA network representing company data as entities and relationships: customers, products, contracts and the links connecting them.
- Ontology (data & AI)The formal vocabulary defining your business entities and their relationships: the shared schema data and AI reason on.
- Graph Neural Network (GNN)A Graph Neural Network is a neural network that learns from connected data in a graph, combining the attributes of entities with the relationships among them.
- OWL (Web Ontology Language)OWL is the W3C language for expressing ontologies with formal meaning, deriving consequences from data, and checking whether stated assumptions are consistent.