← Research RESEARCH · JULY TO NOVEMBER 2026

Four generations of knowledge graphs, back to PostgreSQL

Written from the research log on this site; no new findings. Problem, starting assumption, experiment, results, limitations, decision.

Problem

Where should the knowledge graph live?

Starting assumption

A dedicated graph engine might serve the knowledge graph better than the database we already run.

Experiment

July 2026: nodes, edges, aliases and claims as plain PostgreSQL tables, with vector search next to them. September: a dedicated graph database, weighed and rejected; the graph extension Apache AGE, tried. September to November: a graph database per Workspace, plus an open-source library for facts that change over time.

Results

A separate graph database meant a second database to run, secure, back up, monitor and patch, double writes, separate transactions and recovery, and licensing and vendor dependence; better graph tooling also does not solve access rules, citations and governance. Apache AGE did not add enough to justify one more piece of infrastructure. The per-Workspace setup caused friction: the library forced settings the newest models refuse, loaded its own configuration and sent telemetry by default, and its full-text side added nothing to the results.

Limitations

These results come from our use: our data, our access rules, our team size.

Decision

Back to PostgreSQL (November 2026). Before switching, we checked that the explorer, search, changes and graph hops return identical results. Extraction no longer depends on the library, a new Workspace needs no new database, and an installation is PostgreSQL, vector search and an object store.

All research, in orderDiscuss it