AI Roadmaps
← All roadmaps
IntermediateRoadmap 26 · 13 steps · 4h 27m of video

Knowledge Graphs & GraphRAG

Store facts as connected entities, query them with Cypher, build graphs from text with LLMs, and use them for retrieval that follows relationships.

Before this: AI Engineering (embeddings and RAG). Graph Neural Networks helps for the embeddings step but is optional.

  1. 12 min
    Step 1

    What is a knowledge graph?

    Entities and relationships as a graph, and why that structure helps.

    Knowledge Graphs - Computerphile

    Computerphile

  2. 8 min
    Step 2

    Taxonomies, ontologies, and semantics

    The vocabulary that defines what a graph's nodes and edges mean.

    Taxonomy, Ontology, Knowledge Graph, and Semantics

    Ontology Explained: Philosophy and AI

  3. 3 min
    Step 3

    Graph databases

    A fast tour of Neo4j and the property graph model.

    Neo4j in 100 Seconds

    Fireship

  4. 4 min
    Step 4

    Cypher basics

    Create, match, and update nodes and relationships with Cypher.

    Episode 2: Neo4j Cypher Basics: Reading & Writing Data

    Neo4j

  5. 1h 10m
    Step 5

    Knowledge graph embeddings

    TransE and friends: score missing links with learned vectors.

    Stanford CS224W: Machine Learning w/ Graphs I 2023 I Knowledge Graph Embeddings

    Stanford Online

  6. 24 min
    Step 6

    Extract a knowledge graph from text with an LLM

    Turn unstructured text into entities and relations using GPT-4o.

    Extracting Knowledge Graphs From Text With GPT4o

    Thu Vu

    thu-vu92/knowledge-graph-llms★ 753
  7. 4 min
    Step 7

    GraphRAG vs. vector RAG

    Where retrieving connected facts beats retrieving similar chunks.

    GraphRAG vs. Traditional RAG: Higher Accuracy & Insight with LLM

    IBM Technology

  8. 14 min
    Step 8

    How GraphRAG works

    Entity graphs, traversal, and multi-hop retrieval, and when you need them.

    Graph RAG Simply Explained

    codebasics

  9. 14 min
    Step 9

    Retrieval with Cypher queries

    An LLM writes Cypher to answer questions from a graph database.

    GraphRAG Explained: AI Retrieval with Knowledge Graphs & Cypher

    IBM Technology

  10. 36 min
    Step 10

    Build a GraphRAG pipeline

    Ontology, extraction prompts, and graph retrieval in one Python project.

    GraphRAG: Building a Smarter AI System (full walkthrough)

    Thu Vu

    thu-vu92/graphRAG★ 100
  11. 16 min
    Step 11

    Microsoft GraphRAG

    Microsoft's community summaries for whole-corpus questions, and the indexing cost.

    Graph RAG: Improving RAG with Knowledge Graphs

    Prompt Engineering

  12. 9 min
    Step 12

    LightRAG

    A cheaper graph index with dual-level retrieval.

    LightRAG - A simple and fast RAG that beats GraphRAG? (paper explained)

    AI Bites

    HKUDS/LightRAG★ 40.8k
  13. 53 min
    Step 13

    GraphRAG with Neo4j in practice

    A workshop combining vector search and a graph for an agent.

    RAG Needs a Map: Using GraphRAG to Retrieve Connected Context — Nyah Macklin, Neo4j

    AI Engineer

    neo4j/neo4j-graphrag-python★ 1.3k

Build it

Watching isn't learning. Pick one and put it on GitHub.

Browse all roadmaps →