← Back to work

linkgraph — Cross-Document Relationship Graph

Personal — RAG & Retrieval Systems · 2026

A queryable graph of which RFCs obsolete which, which errata correct which, and which entities co-occur — built over the real entity-mention stream from the RFC-corpus RAG.

13,666 / 14,844
nodes / edges on the real corpus measured 21,830 real entity mentions
5,061
corrects-edges (errata → RFC) measured
2,370 / 2,352
obsoletes / updates edges measured
  • Graph
  • Knowledge graphs
  • Python
  • RAG

Context

Retrieval finds documents that look similar. It does not, on its own, know that one RFC formally obsoletes another, or that an erratum corrects a specific paragraph. linkgraph makes those relationships first-class and queryable.

What I built

  • A relationship graph over the RFC-corpus RAG’s entity-mention stream — obsoletes, updates, corrects, and co-occurrence edges.
  • Queryable structure so a retrieval system can reason over how documents relate, not just which ones rank near a query.

Why it matters

Built from 21,830 real entity mentions, the graph holds 13,666 nodes and 14,844 edges — including 2,370 obsoletes-edges and 5,061 errata corrections. It backs the RFC RAG’s MCP relationship tools — related documents, obsoletion chains, and corrections. The graph layer is a prototype, not yet wired into the chat answer path, which resolves obsoletion independently through its own supersession module.