Concept
Knowledge graph
The knowledge graph captures entities (people, organizations, concepts) and the relations between them. It is bi-temporal: facts have valid_at and invalid_at timestamps, so stale beliefs are marked invalid rather than deleted — you can ask what MemLab knew at any point in time.
Entities and relations
Extraction promotes recurring subjects into entities and links them with typed relations. Retrieval can return the entities related to a memory so you can traverse outward from a result.
Bi-temporal facts
Relations track both when a fact was true (valid_at / invalid_at) and when MemLab recorded it. Superseded facts stay queryable, which makes time-travel and audit possible.
Traversal
Walk the graph from a starting entity at /v1/graph/traverse to expand context beyond a single memory.