Retrieval experiment · Formula 1, 2000–2025

Graph RAG vs. vector RAG

Loading results…

The setup

Vector RAG

530 documents (one per race, one per season's standings) embedded with MiniLM. The 8 closest to the question go to the model in one call.

Graph agent

A knowledge graph of drivers, teams, races, circuits and seasons. The model plans a chain of lookups through 9 typed tools, such as teammates(driver, season).

Hybrid

The graph agent plus a vector_search tool for anything the graph tools don't cover.

All three use the same model (). Every gold answer is computed by code from the same data the systems read, so scoring is exact, with no human labels and no LLM judge.

Accuracy by question type

Bars show the share answered correctly; whiskers are 95% confidence intervals.

Explore the questions

    The graph

    RACED DROVE_FOR HELD_AT IN_SEASON CHAMPION Driver Race Circuit Constructor Season

    734 nodes and 12,246 edges. Result edges carry position, points, grid slot and status; each team stint is a DROVE_FOR edge keyed by season.

    Method and limits