Data & databases

Knowledge Graph

AI-assisted editorial review:

Knowledge graph

A knowledge graph stores knowledge as a network: real-world entities such as people, places and products are nodes, and the relationships between them are edges.[6][7] Because it deals with "things, not strings," it connects scattered data through relationships so that systems can search and reason over it.[1] Following those relationships lets you find facts that sit several steps apart in a single query.[6] Knowledge graphs power entity information panels in search engines, recommendations, and, more recently, the grounding data for large language models (GraphRAG).[1][2][6]

What does Knowledge Graph mean in simple terms?

A knowledge graph organizes knowledge as a map of dots and lines. Each entity is a dot, and relationships such as "works at" or "belongs to" are lines, so facts are linked into a web.[6] It is similar to an org chart that connects people, departments and reporting lines. Once data is linked this way, you can answer questions like "Which products use this part?" by following the connections.[6] That is why knowledge graphs sit behind the information panels next to search results, behind recommendations, and behind newer GraphRAG systems that supply source context for AI answers, whose correctness still needs validation.[1][3][6]

How can Knowledge Graph be explained with an analogy?

A knowledge graph is like an org chart for knowledge: people, teams and reporting lines are joined by lines, so you can trace who connects to whom.

Where is Knowledge Graph used?

Case 1

Google — Bringing a knowledge graph to search

In May 2012 Google launched the Knowledge Graph under the slogan "things, not strings."[1] Google described it as a model that understands real-world entities, such as landmarks, people, films and works of art, and their relationships to one another.[1] It powered the summary panels shown alongside search results and was first rolled out to US English users.[1] The announcement helped make "knowledge graph" a widely used term.
Result: At launch the graph held more than 500 million objects and more than 3.5 billion facts and relationships (Google, 2012).[1]

Case 2

Microsoft — GraphRAG for grounding LLM answers

Microsoft Research introduced GraphRAG in February 2024: an LLM builds a knowledge graph from a private document collection, and that graph is then used to answer questions.[3] The follow-up paper targets "global" questions about a whole corpus, such as "What are the main themes in the dataset?", which conventional retrieval-augmented generation (RAG) handles poorly.[2] The researchers tested it on datasets of around one million tokens.[2]
Result: On global sensemaking questions over roughly one-million-token datasets, GraphRAG gave substantially more comprehensive and diverse answers than a conventional RAG baseline (Microsoft paper; answers judged by an LLM evaluator).[2][3]

Case 3

NASA — Connecting decades of lessons learned

In a 2016 Neo4j interview, David Meza, chief knowledge architect at NASA Johnson Space Center, described moving the center's "lessons learned" database onto a graph database.[4] Keyword search had not shown how lessons from the Apollo, Space Shuttle and Orion eras related to one another; linking them as a graph made those connections visible.[4] The data covered lessons from about the last 50 years.[4]
Result: According to Meza, an Orion team member found Apollo-era information that prevented an issue, saving more than two years of work and over USD 1 million (as stated in the interview).[4]

Case 4

Kakao (Korea) — Knowledge graph for a smart speaker and search

At its if kakao 2018 conference, Kakao presented how it applies a knowledge graph to search and to its Kakao Mini smart speaker; the talk was written up in Kakao AI Report Vol.14.[5] Linking entities and relationships lets a single spoken question such as "How old is the leader of TWICE?" be answered by following the chain from group to leader to age.[5] Kakao noted that conversational search becomes easier as the graph grows.[5]
Result: Kakao's knowledge graph contained about 1.2 billion connections at the time (Kakao AI Report, 2018).[5]

Try it today

  1. Create a free Neo4j AuraDB instance (no credit card required; node and relationship counts are limited) and build a small graph with about 10 nodes and 15 relationships.[8]
  2. Pick one set of company data, for example product–part–supplier, and sketch it as dots and lines.
  3. Run a Cypher query that finds a relationship two or more steps away in one go.[7]
  4. Note how the same question differs when solved with tables (a relational database) versus a graph.[6]
  5. Read Microsoft's GraphRAG blog post and summarize in one line how a knowledge graph changes conventional RAG.[3]

Limits and direction

The main limit of a knowledge graph is the cost of building and maintaining it. You have to decide which entities and relationships to model for each domain, and the right design differs by domain, so it is hard to reuse.[6] Data extracted automatically from text contains errors, so domain experts need to review the graph regularly and correct wrongly stored facts.[6] If source data changes often, the graph must be updated too, so it is not a build-once asset.[6] The coverage needed depends on the task; a useful domain graph can start small. As a large search example, Google's graph already held more than 500 million objects and 3.5 billion facts at launch.[1] In practice, a project needs clear service planning up front and people who keep managing knowledge quality during operation.[6]

Two trends are lowering those costs. First, language models now extract entities and relationships from unstructured documents to build graphs automatically; Microsoft's GraphRAG is an example, and it uses the generated graph as grounding for LLM answers.[2][3] Second, managed graph databases such as Neo4j AuraDB and Amazon Neptune lower the barrier to adoption, and Neptune offers managed GraphRAG through Amazon Bedrock Knowledge Bases.[8][9] In Korea, Kakao applied a knowledge graph to Kakao Mini and search, and Samsung SDS described building one from internal documents for its knowledge portal.[5][6] For questions that hop across several relationships, a graph can answer with fewer data lookups than a table-based database that needs repeated cross-references.[6] As a result, knowledge graphs are moving beyond search and recommendations to become a layer that supplies evidence for AI answers.[3][9]

Which sources explain Knowledge Graph?

  1. Google — Introducing the Knowledge Graph: things, not strings (Amit Singhal, 2012-05-16) — https://blog.google/products-and-platforms/products/search/introducing-knowledge-graph-things-not/
  2. arXiv (Microsoft Research) — From Local to Global: A Graph RAG Approach to Query-Focused Summarization (v1 2024-04-24, v2 2025-02-19) — https://arxiv.org/abs/2404.16130
  3. Microsoft Research — GraphRAG: Unlocking LLM discovery on narrative private data (2024-02-13) — https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
  4. Neo4j — The 5-minute interview: David Meza, chief knowledge architect, NASA (2016-11-18) — https://neo4j.com/blog/graph-visualization/david-meza-chief-knowledge-architect-nasa/
  5. Kakao AI Report Vol.14 — 지식그래프: 카카오미니와 검색 적용 소개 (2018-10-01) — https://brunch.co.kr/@kakao-it/281
  6. Samsung SDS — Technology Toolkit 2021: 지식 그래프 (2021-03-02) — https://www.samsungsds.com/kr/insights/techtoolkit_2021_knowledge_graph.html
  7. Neo4j — Knowledge graphs (use case page, accessed 2026-10-13) — https://neo4j.com/use-cases/knowledge-graph/
  8. Neo4j — Pricing (AuraDB Free, accessed 2026-10-13) — https://neo4j.com/pricing/
  9. AWS — Amazon Neptune (accessed 2026-10-13) — https://aws.amazon.com/neptune/