Elanza AI

Connecting the Dots: How Knowledge Graphs Are Reshaping Retrieval

Why answering a question that depends on several other answers first is where knowledge graphs change what retrieval systems can do.

Field Notes · Retrieval & Reasoning · Published by Elanza AI

1. Introduction

Ask a straightforward question and today's AI tools do well: they search a knowledge base, find the passage that matches, and answer. But ask a question that only makes sense once several separate facts are lined up together, and the same tools often come back with something thin, or something confidently wrong. This gap shows up in almost any organisation that relies on AI to work with its own accumulated knowledge, and it is the reason a different kind of retrieval — built around a graph instead of a pile of text — is getting serious attention.

Consider how a routine judgment call actually gets made inside an organisation. Approving next quarter's spending on an ongoing initiative is rarely a single lookup: it depends on how that initiative performed last quarter, a policy that caps discretionary spend above a certain threshold, and an earlier decision to reallocate part of the budget elsewhere. A traditional search returns all three as separate, unconnected hits — the performance report, the policy memo, the earlier decision — and leaves a person to notice they are related and piece the reasoning together by hand. A system built around a graph can follow the links between those three facts directly, and surface the same reasoning path a careful human reviewer could trace, but in a faster and more consistent manner.

A single search finds a matching sentence. A graph finds the path between facts.

Figure 1. A knowledge graph represented as entities and labelled relationships. An original diagram illustrating the structure described in the source.

2. From Plain Search to Retrieval-Augmented Generation

Search has evolved in stages. Early systems matched keywords, so they found documents using the same words as the question, and missed anything phrased differently. The next generation, retrieval-augmented generation (RAG), typically turned both the question and the source text into numeric embeddings and retrieved whichever passages were closest in meaning. This is the standard approach behind most AI assistants today, and for direct factual questions, it holds up well.

The trouble starts when an answer needs more than one fact, pulled from different places, reasoned across together. A single vector search returns a set of passages that each look relevant on their own, but it has no way of showing how they connect. And if the question is about an entire body of knowledge rather than one document, there is no structure available to summarise from — only a pile of loosely related chunks.

3. What a Knowledge Graph Actually Adds

A knowledge graph represents information as entities and the relationships between them — one thing depends on, leads to, belongs to, or affects another. Graph-based retrieval, usually called GraphRAG, uses that structure directly during retrieval. Instead of returning isolated chunks of text, it can follow a relationship from one fact to the next and assemble the connected evidence a question genuinely needs.

A 2026 paper (first posted in 2024) describes this as a three-part workflow: graph-based indexing builds the graph from source material, graph-guided retrieval walks the graph to find relevant entities and paths, and graph-enhanced generation turns that structured evidence into an answer [1]. A separate 2025 paper proposes its own broader framework with a query processor, a retriever, an organiser that refines the retrieved evidence before generation, a generator and a data source, and shows how the design adapts across domains such as knowledge graphs, document graphs and scientific graphs [2].

Figure 2. The GraphRAG workflow: index the graph, walk it, organise the evidence, then generate. An original diagram combining the stages of reference [1] (2026) with the query-processing and organising components of reference [2] (2025).

A related system, first posted in 2024 and revised in 2025, groups the graph into communities of closely related entities and writes a summary for each community ahead of time. When a question is about the whole knowledge base rather than one detail, the system answers from these pre-written summaries instead of hunting for a single passage that may not exist [3].

The communities themselves come from hierarchical graph clustering — specifically the Leiden algorithm — which partitions the graph into related groups at several levels of granularity, from broad themes down to tightly connected pockets of detail. To answer a question about the whole knowledge base, the system generates a short partial answer from each community summary independently, then combines those partial answers into one final response, a map-reduce style pattern the authors describe. Evaluated against a standard RAG baseline on large, corpus-wide questions, the authors report this approach produces answers judged more comprehensive and more diverse by a language-model judge [3].

Figure 3. Communities of related entities are summarised ahead of time, so whole-knowledge-base questions have something to draw on. Based on reference [3] (2025).

4. Where Each Approach Fits Best

Adding structure does not automatically make retrieval better for every kind of question — it makes it better for a specific kind of question. A 2026 benchmark study, GraphRAG-Bench, sorts questions into four levels: simple fact retrieval, complex reasoning, contextual summarisation, and creative generation [4]. The pattern that emerges is a genuinely useful guide for choosing between approaches — though the study notes that earlier reports found graph-based retrieval often underperforming plain vector search and adding latency and cost, and its own results show plain retrieval matching or beating graphs on simple fact lookups, so the gains below are specific rather than universal.

Table 1. Where each approach fits best.
Question typeBest-suited approachWhat the question needs
A single, direct factVector searchOne matching passage is enough on its own.
Reasoning across linked factsGraph-based retrievalThe answer depends on two or more connected facts.
Summarising a whole knowledge baseGraph-based retrievalCommunity structure lets the system draw on the full picture.
Open-ended, generative answersMixedGraphs retrieve more evidence, while plain retrieval keeps the context more relevant.

Task taxonomy and findings from reference [4] (2026); whole-knowledge-base summarisation draws on reference [3] (2025).

5. Sharpening the Graph: Recent Refinements

A graph pulled automatically from raw documents starts out messy, so a growing body of work focuses on cleaning and organising it before it reaches the model.

Table 2. Recent refinements to graph-based retrieval.
MethodWhat it doesPublished
LightRAGRetrieves at a low and high level of detail in one pass, aiming to keep graph-level benefits while lowering cost and latency.2025 [5]
GraphRAG-FIFilters noisy or irrelevant graph paths in two stages, then balances what remains against the model's own reasoning, improving accuracy on knowledge-graph question answering.2025 [6]
ArchRAGBuilds a hierarchy of attributed communities, so retrieval can operate at whichever level of detail a question calls for.2025 [7]

In settings where an incomplete connection between facts carries real consequences, applied work published in 2025 has leaned on graph-based retrieval specifically for its structured, traceable reasoning, favouring a verifiable chain of evidence over a loose text match [8].

6. The Database Underneath It All

None of this runs without something to actually store and query the graph, and that choice shapes how the whole pipeline performs in practice — every stage above, from indexing to walking paths to assembling communities, is only as fast as the system underneath it. Graph databases worth noting for GraphRAG pipelines include FalkorDB, a Redis-based graph database using sparse matrix representations (GraphBLAS) and offering native GraphRAG tooling, positioned as a lower-latency alternative to more established database options.

Many graph databases, FalkorDB included, are queried with Cypher — or the closely related openCypher and GQL standards — a query language built specifically to describe a path through a graph rather than rows in a table. A question like "what does this entity depend on, and what conditions apply to it?" becomes a pattern the database matches directly against nodes and relationships, which is close to what a GraphRAG retriever is doing internally when it walks the graph on a question's behalf.

MATCH (i:Initiative)-[:DEPENDS_ON]->(p:Policy)
WHERE i.name = "Ongoing Initiative"
RETURN i.name, p.threshold, p.description
Figure 4. A simplified Cypher query retrieving the policy an initiative depends on — the same kind of pattern match a GraphRAG retriever runs when it walks the graph for an answer.

7. The Future of Graph-Based Retrieval

The direction of recent work points toward graphs that are easier to build, cheaper to query, and better organised at multiple levels of detail. Work on efficient construction and hybrid retrieval at scale, published in 2025, is aimed squarely at making these systems cheap enough to deploy at enterprise scale, not just in a research setting [9]. Filtering and integration methods like GraphRAG-FI, also from 2025, point toward graphs that get cleaner as extraction techniques mature, rather than staying permanently noisy [6]. Hierarchical designs like ArchRAG, published in 2025, suggest retrieval systems that can move fluidly between a broad overview and a specific detail within the same graph [7]. And lightweight dual-level methods like LightRAG, from 2025, suggest that the computing overhead once associated with graphs is already narrowing [5]. Put together, these threads suggest graph-based retrieval is moving from a specialised technique toward a more general, more affordable layer that can sit alongside the retrieval systems organisations already run.

8. Bringing It Back to the Decision

None of this replaces what already works. A direct question still deserves a direct, fast answer, and plain retrieval is well suited to that. What a knowledge graph adds is a way to handle the other kind of question — the one that only makes sense once a few separate facts are lined up and reasoned through together.

Consider a similar moment elsewhere in the same organisation: a manager deciding whether to extend a project's deadline. The answer depends on the vendor's recent delivery pace, a commitment made earlier to a stakeholder about the original date, and a scheduling conflict already booked into the team's calendar for next month. None of that sits in one place, and the decision is only as good as how many of those three the manager actually has in view at once. That is where the opportunity sits for most organisations: not in replacing how decisions get made, but in changing how much of the surrounding picture is visible before one gets made. A knowledge graph gives a team a way to see how the facts they already hold connect to each other, and GraphRAG gives them a way to ask questions across that whole picture instead of one document at a time. For any organisation sitting on a knowledge base that keeps growing, with decisions like this one becoming more common rather than less, that is a direction worth exploring.

References

  1. [1]B. Peng et al., “Graph retrieval-augmented generation: A survey,” ACM Trans. Inf. Syst., vol. 44, no. 2, Art. no. 35, pp. 1–52, Dec. 2025, doi: 10.1145/3777378.
  2. [2]H. Han et al., “Retrieval-augmented generation with graphs (GraphRAG),” arXiv:2501.00309v2 [cs.IR], 2025, doi: 10.48550/arXiv.2501.00309.
  3. [3]D. Edge et al., “From local to global: A graph RAG approach to query-focused summarization,” arXiv:2404.16130v2 [cs.CL], 2025, doi: 10.48550/arXiv.2404.16130.
  4. [4]Z. Xiang et al., “When to use graphs in RAG: A comprehensive analysis for graph retrieval-augmented generation,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2026. [Online]. Available: https://openreview.net/forum?id=i9q9xDMjG7
  5. [5]Z. Guo, L. Xia, Y. Yu, T. Ao, and C. Huang, “LightRAG: Simple and fast retrieval-augmented generation,” in Findings Assoc. Comput. Linguistics: EMNLP 2025, Suzhou, China, 2025, pp. 10746–10761. [Online]. Available: https://aclanthology.org/2025.findings-emnlp.568/
  6. [6]K. Guo, H. Shomer, S. Zeng, H. Han, Y. Wang, and J. Tang, “Empowering GraphRAG with knowledge filtering and integration,” in Proc. Conf. Empirical Methods Natural Lang. Process. (EMNLP), Suzhou, China, 2025, pp. 25439–25453. [Online]. Available: https://aclanthology.org/2025.emnlp-main.1293/
  7. [7]S. Wang, Y. Fang, Y. Zhou, X. Liu, and Y. Ma, “ArchRAG: Attributed community-based hierarchical retrieval-augmented generation,” arXiv:2502.09891v1 [cs.IR], Feb. 2025, doi: 10.48550/arXiv.2502.09891.
  8. [8]J. Wu et al., “Medical graph RAG: Evidence-based medical large language model via graph retrieval-augmented generation,” in Proc. 63rd Annu. Meeting Assoc. Comput. Linguistics (Vol. 1: Long Papers), Vienna, Austria, 2025, pp. 28443–28467. [Online]. Available: https://aclanthology.org/2025.acl-long.1381/
  9. [9]C. Min, S. Bansal, J. Pan, A. Keshavarzi, R. Mathew, and A. V. Kannan, “Towards practical GraphRAG: Efficient knowledge graph construction and hybrid retrieval at scale,” arXiv:2507.03226v3 [cs.AI], 2025, doi: 10.48550/arXiv.2507.03226.