Data & retrieval

Knowledge Graph

A structured representation of entities and the relationships between them — used to give AI systems explicit, queryable facts.

01 ——

In plain English

A knowledge graph is a database where information is stored as a network of entities (nodes) and relationships (edges). Where a normal database has rows and columns, a knowledge graph has facts like "Anthropic — founded — 2021" or "Claude — made by — Anthropic."

Why pair it with LLMs:

  • Explicit facts — the model can look up rather than recall (more reliable)
  • Multi-hop queries — follow chains of relationships the model can't hold in context
  • Provenance — every fact has a source you can cite or update
  • Reasoning over structure — graph queries answer "which of X are also Y" questions instantly

Common implementations:

  • Neo4j, Memgraph, ArangoDB — graph databases
  • Google Knowledge Graph — the original public knowledge graph behind search
  • Wikidata — open, community-edited
  • Microsoft GraphRAG — combine a knowledge graph with retrieval-augmented generation

Knowledge graphs are most useful where facts and relationships matter more than nuance — compliance, healthcare, enterprise search, fraud detection.

02 ——

Related terms

Back to glossaryLast reviewed May 2026
Vol. 4 · Issue 19 · Last reviewed 2026-05-30

Sign up for our newsletter

Receive weekly updates so you can stay up-to-date with the world of AI