Incorrect entity merge
Detect: Unrelated organizations share an apparent dependency.
Recover: Split the entity and recompute affected edges and summaries.
Combine entity relationships with source passages to answer connection-oriented questions that isolated similarity matches cannot resolve.
Graph RAG uses an explicit relationship representation to guide retrieval or synthesis. A knowledge graph can represent suppliers, facilities, products, incidents, and their connections; linked source passages provide the evidence behind each node or edge. Some GraphRAG approaches additionally build community summaries for corpus-wide questions. These are design choices, not a single interchangeable algorithm.
The graph is a derived evidence structure, not unquestionable truth. Entity resolution, relation extraction, temporal validity, and provenance determine its usefulness. A graph traversal can expose a possible path, but the answer must distinguish asserted relationships from inferred connections and must respect permissions on every contributing source.
A prototype models one narrow relationship question and manually checks extracted entities and edges.
Production attaches provenance, confidence, validity intervals, and access metadata while evaluating both extraction and retrieval.
Enterprise scale requires incremental graph updates, entity merge governance, traversal limits, and recomputation rules for summaries affected by source changes.
Maps mentions to stable identities while preserving ambiguous matches.
Produces typed edges with source evidence and temporal attributes.
Supports bounded traversal and relationship filtering.
Retrieves original text supporting graph nodes and edges.
Combines traversal results, source passages, and optional community summaries.
flowchart LR
D["Supplier reports"] --> X["Entity and relation extraction"]
X --> G["Temporal knowledge graph"]
D --> P["Source passage index"]
Q["Dependency question"] --> T["Bounded graph traversal"]
G --> T
T --> E["Evidence fetch"]
P --> E
E --> A["Cited relationship answer"]sequenceDiagram
participant S as Source registry
participant X as Extraction pipeline
participant G as Graph store
participant R as Retriever
S->>X: Source revision or deletion
X->>G: Invalidate dependent edges
X->>G: Write validated replacement relations
R->>G: Query at requested validity time
G-->>R: Paths with current provenance
R->>S: Fetch authorized supporting passagesParse documents and retain immutable source identifiers and access metadata.
Link mentions conservatively and quarantine uncertain merges.
Store typed edges with evidence, validity, and extraction version.
Choose allowed relation types, depth, and temporal scope for the question.
Fetch authorized source text for the selected path or community.
Cite relationships and identify uncertainty instead of presenting inferred edges as established facts.
Supply chain · Illustrative enterprise scenario, not a reported customer outcome.
A manufacturer investigates whether several delayed parts depend on the same upstream processing facility.
Part-level document search finds separate supplier notes but does not connect their facility references.
Expose the dependency path with dated evidence and uncertainty.
A graph connects suppliers, facilities, and parts; each edge links to an approved source passage.
An ambiguous facility name remains two possible entities until reviewed, preventing a false shared-dependency conclusion.
Measure supported-path precision, entity-resolution errors, and evidence freshness; graph density alone is not a quality metric.
| Decision | Benefit | Cost |
|---|---|---|
| Explicit relationships | Support multi-hop dependency questions. | Require extraction and identity maintenance. |
| Community summaries | Help answer corpus-wide themes. | Can obscure source-level detail and become stale. |
| Strict provenance | Makes relationships auditable. | Increases storage and retrieval work. |
Detect: Unrelated organizations share an apparent dependency.
Recover: Split the entity and recompute affected edges and summaries.
Detect: A traversal uses an obsolete supplier relationship.
Recover: Filter by validity interval and reconcile source updates.
Retain source evidence and uncertainty.
Limit depth, relation types, and result cardinality.
Authorize every contributing source or build scope-specific summaries.