Knowledge Graph
A knowledge base where facts are stored not as text but as a graph: entities (nodes) and relationships (edges) between them.
Example
(DeepSeek) — developed by — (DeepSeek AI)
(DeepSeek) — is a — (LLM)
(LLM) — uses — (Transformer)
What Sets It Apart from a Regular Database
| Regular DB | Knowledge Graph | |
|---|---|---|
| Unit | Document, chunk | Entity and relationship |
| Question | «What is written» | «How are A and B related» |
| Search | Vector-based | Graph structure-based |
Role in AI
Knowledge graphs are the foundation of GraphRAG: an approach that combines graph structure with vector search. Particularly useful for questions about relationships and infrastructure.