Expand description
Relation storage module for the knowledge graph.
Structs§
- Neighbor
- Represents a neighbor in a graph traversal.
- Relation
- Represents a relation between entities in the knowledge graph.
Functions§
- get_
neighbors - Get neighbors of an entity using BFS traversal.
- get_
relations_ by_ source - Get relations by source ID.
- insert_
relation - Insert a new relation into the database.