Skip to main content

Module relation

Module relation 

Source
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.