What makes a connected path usable evidence?
Hypothetical scenario. Northwind’s support team asks which procedures depend on a supplier component. Maya can find relevant passages but cannot inspect the connection between them. Dev proposes a graph; Priya asks which source supports every relationship along the proposed path.
Maya: “Finding both names is not the same as showing how they are connected.”
Dev: “Edges could record the relationships we extract from the documents.”
Priya: “Keep the source, effective state and access scope with each relationship.”
This optional depth chapter assumes familiarity with retrieval and evidence provenance. You will model relationship semantics, entity resolution, bounded traversal and community summaries while distinguishing an inspectable graph path from a supported conclusion.
A graph can make the proposed connection inspectable. It can also make an unsupported extraction look authoritative because it appears as a named edge. Sam therefore asks which sources support each relationship, whether the relationships are current and whether the caller may see all of them.
Choose a graph model for the question being answered
Entities can represent components, suppliers, procedures or documents. Relationships express a specific connection, such as supplies, depends-on or governed-by. Give each relationship a meaning that the source can support. A generic “related to” edge can be useful for navigation but is too weak to justify a precise operational conclusion.
Some facts need their own identity. A supplier's relationship to a component can have a source, effective interval and review state. Represent those attributes explicitly rather than attaching one unqualified edge to two names. A richer model costs more to maintain, but it makes the conditions behind a query visible.
Graph structure should follow the task rather than collect every extracted noun. If the application only needs a supported paragraph about a single policy, a graph may add complexity without improving the evidence path. Define the relationship question before building an entity-extraction pipeline.
Keep graph paths attached to their source claims
Hypothetical scenario. Two documents mention an organization with the same name. Entity resolution proposes a merge, but that merge can create a relationship neither source supports. Record source spans, extraction versions and entity-resolution evidence on graph nodes and edges.
| Artifact | Concrete evidence | Decision boundary |
|---|---|---|
| Entity identity | source aliases and resolution evidence | Avoid false merges |
| Edge claim | predicate, direction, time, source span | Supported relation |
| Summary | supporting edge/source revisions | Derived disclosure |
A connected path is not automatically a valid inference. Its predicates, direction, time and scope determine what the path can support. Community summaries are derived text and inherit the permissions and revisions of their supporting sources. On correction or revocation, find affected edges and summaries or reauthorize them before use. Graph retrieval can improve specific relationship questions while adding extraction and maintenance error modes.
Matching names is an evidence decision
Two source passages can use different names for the same supplier, or the same short name for different organizations. Entity resolution proposes which mentions refer to one identity. Preserve the original mentions and the reason for a merge. A mistaken merge can create paths that no source actually supports.
Use authoritative identifiers where the source provides them. When only names are available, keep ambiguity explicit rather than converting a similarity score into a definite identity. The graph can retain separate candidate entities until review or additional evidence resolves them.
Entity correction should propagate to dependent edges and summaries. Simply renaming a node can leave a generated community description containing the old mistaken connection. Treat resolution and extraction as versioned transformations whose downstream artifacts need rebuilding or revalidation.
An extracted edge carries its supporting source
Store where the relationship was found, which source revision was used and which extraction process proposed it. A confidence score can help prioritize review, but its calibration and meaning need evaluation. Do not infer that multiplying several arbitrary edge scores yields a probability that an entire path is correct.
Absence of an edge can mean the source was missing, extraction failed or the relationship was never asserted. It is not automatically evidence that the relationship does not exist. Distinguish an explicit source statement of absence from a graph without a recorded positive connection.
Time matters too. A relationship that was valid for one interval may be false for the question's current date. Query the relevant temporal conditions and preserve the supporting source context. A structurally valid path can still combine relationships that never held simultaneously.
Check whether the path ever held at the same time
Hypothetical scenario. Use day numbers measured from an explicitly chosen project origin. A source states that supplier S provided component C during [0,10). Another states that C belonged to product P during [10,20). These half-open intervals include their start and exclude their end. The graph contains S → C → P, but the first relationship ends exactly when the second begins.
A same-time dependency claim needs the interval intersection. Its proposed start is max(0,10) = 10 and its end is min(10,20) = 10. Because start is not less than end, the intersection is empty. At day 10 the first relationship no longer holds. A path search that ignores intervals can return a structurally connected but temporally unsupported explanation.
| Edge evidence | Validity interval | Source identity |
|---|---|---|
| S supplied C | [0,12) | Supplier record revision 2 |
| C belonged to P | [10,20) | Product record revision 5 |
With the corrected first edge, the intersection becomes [max(0,10),min(12,20)) = [10,12), lasting 12 − 10 = 2 selected days. A question about day 11 can use both time conditions; a question about day 15 cannot. Preserve the correction’s source revision rather than changing only the displayed edge label.
Temporal overlap is still one requirement. Predicate direction, entity identity, caller permission and source support must also permit the proposed explanation. A community summary derived from the earlier edge set needs revalidation or rebuilding. This interval rule belongs to the hypothetical application contract; it is not a claim that the referenced GraphRAG pipeline automatically enforces temporal reasoning or establishes causality.
Traversal needs a question, bounds and a stopping rule
A graph query can follow named relationships from an identified entity, constrain time and scope, then return the matching evidence records. Specify the permitted relationship types and maximum expansion. Exploring every connected node is not a reasonable default for an interactive answer.
Hypothetical scenario. Choose one starting entity, a maximum of four new neighbors per node and two expansion hops. In a tree-shaped upper-bound example, the visited count is 1 + 4 + 16 = 21 nodes. This is a selected combinatorial bound, not a workload measurement.
If the four first-hop nodes produce 16 second-hop appearances but only ten are new distinct entities, a simple distinct-node reachability view contains 1 + 4 + 10 = 15 nodes. Cycles and repeated mentions change the work accounting. The appropriate deduplication also depends on whether the task asks for reachable entities or distinct relationship paths.
Community summaries answer a different retrieval question
The GraphRAG paper studies query-focused summarization using a graph-based organization of source information. Its approach includes communities and summaries that can support questions spanning a corpus. This is broader than inserting a graph database between an ordinary question and one paragraph.
A community summary compresses selected relationships into a derived description. That can help find themes, but it can also omit exceptions or combine uncertain extractions. Retain the source material behind the summary and return to it when an answer needs a precise claim.
The GraphRAG documentation provides an implementation reference for its indexing and query concepts. Verify the actual configuration rather than assuming every system called GraphRAG uses the same graph model, summary process or query behavior.
Budget summary and source evidence separately
Choose eight hypothetical community summaries of 250 tokens each. Their total selected representation is 8 × 250 = 2,000 tokens. Suppose a query selects four summaries, producing 4 × 250 = 1,000 tokens, and includes 1,200 tokens of underlying source evidence for the claims it will make. The selected input contribution is 1,000 + 1,200 = 2,200 tokens.
A separate passage baseline selecting 20 chunks of 150 tokens contributes 20 × 150 = 3,000 tokens. These counts compare chosen inputs, not answer quality or total system cost. Graph extraction and summary generation incur their own work, and a shorter selected context can still omit the decisive exception.
Evaluate whether each approach answers the same question with supported claims. Do not label fewer context tokens an improvement without that comparison. A graph can help a broad relationship question while adding unnecessary indexing and maintenance cost to a narrow lookup.
Authorization applies to nodes, edges and derived summaries
A permitted entity name does not imply that every relationship attached to it is visible. A summary can reveal a restricted relationship even when it contains no copied source sentence. Preserve the access dependencies of derived graph material and evaluate the allowed view for the current caller.
Do not construct an unrestricted global answer and remove visible citations afterward. The relationship may already have influenced the conclusion. The tool-authority chapter explains why model proposals cannot expand permissions; the same boundary applies when a graph query is proposed by an agent.
Deletion or correction of a source should invalidate dependent edges and summaries according to their lineage. A graph that retires a passage but retains its unsupported summary can continue producing the same wrong relationship. Source lifecycle remains necessary even when retrieval operates over a graph.
In the wild: a primary approach to corpus-wide summarization
The GraphRAG paper and Microsoft documentation provide concrete references for graph-based indexing and query-focused summarization. They establish an approach to inspect, not a guarantee that a graph improves every retrieval workload. Read the reported evaluation within its dataset and question scope.
Hypothetical scenario. Northwind merges two suppliers with the same short name. A summary now claims that one supplier provides a component documented only for the other. Correct the entity resolution, trace affected edges and rebuild dependent summaries. Adding more traversal steps would amplify the mistaken relationship rather than resolve it.
A graph explains recorded structure, not every causal claim
A dependency path can motivate investigation, but it does not establish the magnitude or certainty of an operational impact. The source may describe an optional supplier, an expired agreement or a procedure that applies only under additional conditions. Keep those conditions attached to the reasoning instead of turning reachability into a definite forecast.
Experts can reasonably choose curated relationships for precision or broader automated extraction for coverage. The trade involves review cost, missing evidence and the consequence of a false connection. Measure those outcomes and retain an explicit uncertain state rather than promising that either curation or automation makes the graph complete.
Use structure when the task needs relationships
Graph retrieval is useful for questions about connections, constrained paths or corpus themes when the required source and maintenance work is justified. Prefer simpler passage retrieval for narrow lookups with a clear answer-bearing source. Both need provenance, authorization and a task-level acceptance test.
Inspect entity-resolution mistakes, unsupported edges, stale relationships and omitted exceptions as separate failure categories. A fluent answer can conceal any of them. Preserve the underlying records so a reviewer can follow a conclusion back through the actual relationships and sources.
Test the entity identity boundary
A path connects two entities through an ambiguous name merge. Can the summary cite the path as proof?
Reveal the design reasoning
No. Resolve or expose the ambiguity and inspect each supporting claim. Connectivity alone does not validate entity identity or transitive inference.
Decision: Publish graph evidence with source-aware correction and disclosure rules.
Distinguish a path from supported evidence
Two supplier mentions share a short name. May they become one node automatically?
Not from the name alone. Preserve the mentions and seek authoritative identity evidence or retain ambiguity. A wrong merge can create paths that no source supports and contaminate generated summaries.
A two-hop traversal reaches a procedure. Does that prove a component shortage will disrupt it?
No. Check relationship meaning, effective intervals and additional conditions. Reachability describes recorded structure; operational causation requires evidence beyond the existence of a path.
Four summaries plus source evidence use 2,200 tokens instead of a 3,000-token passage baseline. Is GraphRAG better?
Only the selected input is smaller. Compare supported task outcomes and account for graph extraction, summary creation and maintenance. A shorter context can omit the exact exception needed by the answer.
Northwind decision log
- Model relationships with source, identity and time conditions that match the question.
- Bound traversal and verify precise claims against underlying evidence.
- Propagate correction, deletion and authority into derived edges and summaries.
Go deeper: graph models and traversal
- Video lecture: Introduction to recursion | Recursion series, William Fiset. Understand recursive exploration before adding graph-specific bounds and repeated-node handling.
- Book chapter: Graph Databases, second edition, chapter 3: Data Modeling with Graphs, Ian Robinson, Jim Webber and Emil Eifrem. Make relationship semantics explicit.
- Book chapter: Graph Databases, second edition, chapter 4: Building a Graph Database Application, the same authors. Relate the graph model to application needs and evolution.
- Primary paper: From Local to Global: A Graph RAG Approach to Query-Focused Summarization, Darren Edge and colleagues. Examine the graph and community-summary approach within its stated scope.
Northwind can inspect support for a relationship as well as a passage. Page 48 changes the operating boundary: the same evidence path must work without hidden external dependencies. Revisit source revisions and release identity before reasoning about accepted local snapshots.