Knowledge Base vs Knowledge Graph
People think a knowledge base and a knowledge graph are the same store, and they are not. A knowledge base is a set of documents that an AI system searches as text. A knowledge graph holds facts as things and named links between them. You read the first. You follow the lines of the second.
Knowledge Base (AI)
The set of files an AI looks through. Then it gives its answer.
A knowledge base is the set of documents an AI system is allowed to search. It can hold help pages, policies, product sheets or past tickets. In a RAG system, it is cut into chunks and indexed before anyone asks. At question time, the system pulls the best chunks from it. The answer can only be as good and as fresh as what is in it.
Knowledge Graph
Facts stored as things and the links between them, like a map you can follow.
A knowledge graph stores facts as things and the links between them. Each thing, like a person, a city or a company, is a node. Each link is a labelled line, like "works at" or "born in". You can follow the lines to answer questions that hop across facts. Search engines use them for the fact boxes beside results. AI systems use them to find linked facts that plain text search misses.
In one line
- Knowledge Base (AI)
- The set of files an AI looks through. Then it gives its answer.
- Knowledge Graph
- Facts stored as things and the links between them, like a map you can follow.