A knowledge graph is a structured network of real-world entities and the relationships between them — stored as triples (Subject, Relationship, Object). Google’s Knowledge Graph connects billions of facts: (Eiffel Tower, located in, Paris), (Paris, capital of, France). It powers the direct answers in Google Search and grounds AI systems in structured, verifiable facts.

Category: Foundational Concepts · Difficulty: Beginner · Last updated: 15 May 2026 · 5 min read


What is Knowledge graph?

A fact is not just a sentence. It is a relationship between entities. “Marie Curie discovered polonium” is a relationship: (Marie Curie) — [discovered] → (Polonium). “Polonium is a chemical element” is another: (Polonium) — [is a] → (Chemical Element). “Marie Curie was born in Warsaw” is a third: (Marie Curie) — [born in] → (Warsaw).

Link enough of these triples together and you have a knowledge graph — a network where you can start at any entity and traverse to any related fact, following chains of relationships. From Marie Curie, follow “born in” to Warsaw, follow “capital of” to Poland, follow “borders” to Germany. The graph represents the structure of the world, not just the words people use to describe it.

This distinction matters. A document containing the sentence “Marie Curie was born in Warsaw” can be retrieved by text search. A knowledge graph can answer “name all Nobel Prize winners born in cities that are now the capital of EU member states” — a query that requires traversing relationships across thousands of entities, which no document retrieval system can do.

How Knowledge graph works

Knowledge graphs are stored as triples: (Subject, Predicate, Object) — also called (Entity, Relationship, Entity).

  • (Albert Einstein, nationality, German)
  • (Albert Einstein, won, Nobel Prize in Physics)
  • (Nobel Prize in Physics, awarded by, Royal Swedish Academy of Sciences)
  • (Royal Swedish Academy of Sciences, located in, Stockholm)

You can query: “where is the organisation that awards the prize Einstein won?” — following three relationship hops to reach Stockholm.

Standards like RDF (Resource Description Framework) define how triples are stored. SPARQL is the query language for navigating knowledge graphs — the equivalent of SQL for relational databases.

Real-world examples

Not theory — what real teams actually shipped using this technique.

  • Google Knowledge Graph: contains over 500 billion facts about 5 billion entities. Powers the “knowledge panel” that appears on the right of search results for famous people, places, and things — providing direct answers rather than links.
  • Wikidata: a free, collaboratively edited knowledge graph with over 100 million data items. Used by Wikipedia, Google, Amazon Alexa, and research systems worldwide as a source of structured factual knowledge.
  • Amazon’s product knowledge graph connects products, brands, categories, attributes, and customer interactions — powering search ranking, recommendation, and product page generation at scale across hundreds of millions of products.

Common pitfalls

  • Incompleteness — even the largest knowledge graphs miss millions of facts. Querying for information that is not in the graph returns empty results, not an approximation.
  • Maintenance burden — facts change. People change jobs. Countries change capitals. Organisations merge. Knowledge graphs require continuous updating or they become stale and misleading.
  • Schema disagreement — different knowledge graphs represent the same facts differently. Merging or linking graphs requires entity resolution (figuring out that “USA”, “United States”, and “United States of America” are the same entity).
  • Poor at capturing uncertainty and nuance — knowledge graphs store facts as definite triples. “Einstein was probably born in Ulm” cannot be represented cleanly. Probabilistic knowledge graphs address this but add complexity.

Frequently asked questions

QUESTION 1 What is a knowledge graph in simple terms?

ANSWER 1 A map of facts stored as relationships between entities — (Marie Curie, discovered, Polonium), (Polonium, is a, Chemical Element). Link millions and you can traverse from any entity to any related fact.

QUESTION 2 What is Google’s Knowledge Graph?

ANSWER 2 A database of 500 billion facts about 5 billion entities that powers the direct answers in Google Search — returning “population of Tokyo: 13.96 million” rather than links to pages mentioning the number.

QUESTION 3 How do knowledge graphs differ from relational databases?

ANSWER 3 Relational databases have fixed table schemas. Knowledge graphs store arbitrary relationships between arbitrary entities with no fixed schema — better for highly connected, heterogeneous data.

QUESTION 4 How are knowledge graphs used with AI?

ANSWER 4 Grounding LLMs in structured verifiable facts, RAG retrieval of specific facts, GNN learning from graph structure, and precise factual question answering with citable answers.


📬 Get one concept + one use case every Tuesday. Join the newsletter →