---
id: "concept-context-graph"
type: "concept"
source_timestamps: ["00:32:35"]
tags: ["data-engineering", "knowledge-graphs"]
related: ["concept-hybrid-memory-architecture"]
definition: "An intermediate data structure that maps relationships and dependencies between raw database facts, serving as the blueprint for generating narrative wiki pages."
sources: ["s11-wiki-vs-open-brain"]
sourceVaultSlug: "s11-wiki-vs-open-brain"
originDay: 11
---
# Context Graph

# Context Graph

> An intermediate data structure that maps relationships and dependencies between raw database facts, serving as the blueprint for generating narrative wiki pages.

## Position in the Stack

A **Context Graph** is the *intermediate layer* in the [[concept-hybrid-memory-architecture]]. It sits between the raw structured database and the final human-readable wiki pages.

## What It Does

By querying the database, an AI agent maps out:

- **Relationships** between disparate data points (e.g., linking a product feature to a specific meeting note and a client request).
- **Dependencies** between facts.
- **Contradictions** that need to be surfaced (see [[concept-silent-contradictions]]).

This graph allows the AI to *think in connections* rather than just isolated facts.

## Output

Once the context graph is built, it serves as the **blueprint** for the compiler agent to write the final, narrative wiki pages — ensuring that the resulting documents are deeply interconnected and structurally sound.

## See Also

[[framework-hybrid-memory-stack]] — the three-tier framework where the context graph is step 2.


## Related across days
- [[concept-hybrid-memory-architecture]]
- [[framework-hybrid-memory-stack]]
- [[question-resolving-silent-contradictions]]
