Expand description
Knowledge graph domain types — entities (nodes) + temporal triples (edges). The structured-facts layer: “Who depends on Y?” “What did we decide about X?”
Import-compatible with the pi-mempalace entities + triples schema
(see docs/HANDOFF.md §3). In the SurrealDB backend, entities are
record nodes and triples are graph edges (RELATE ... ->triples->).
Structs§
- Entity
- An entity — a node in the knowledge graph.
- Entity
Id - Stable opaque identifier for an entity (node).
- Entity
Record - An entity plus its connected triples (query result).
- KgStats
- Counts for the knowledge-graph stats endpoint.
- Triple
- A temporal triple: subject -predicate-> object with validity. The
valid_tofield expresses invalidation (None= still current).
Traits§
- Knowledge
Graph - The knowledge-graph contract every backend implements alongside
crate::Store. All methods are scoped to aNamespaceId.