Knowledge Graph for RAG
a knowledge graph is a database that stores information in nodes and relationships.
both nodes and relationships can have properties.
Nodes can be given labels to group them together.
Relationships always have a type and a direction.