Technology

How the graph is built

This page describes the pipeline behind the Alzheimer's graph: where the data comes from, what the agents decide, what code checks, how the result was measured, and what it cannot do yet.

One rule

A model makes the decisions a curator would otherwise make by hand: what a paper states about a pair of entities, which identifier an entity gets, whether an edge should stay. Code checks each decision before it is written. Everything is written to one place, a git repository of Markdown pages called the vault, and every change is a commit that can be read and reverted.

Sources

The graph draws on two kinds of source.

Before review, the Alzheimer's graph held 89,745 edges: 74,216 from Pharos, 10,692 from 132 papers and abstracts, and 4,837 from the disease and phenotype ontologies MONDO and HPO.

From a paper to statements

  1. The paper's text is extracted in a sandbox without network access. Its PubMed ID and its licence are recorded.
  2. An agent writes a page for the paper and a page for each gene, disease or chemical it discusses.
  3. Each entity is matched to a standard identifier through a local index of six ontologies: HGNC for genes, MONDO for diseases, HP for phenotypes, ChEBI for chemicals, GO for processes, and MeSH as a second identifier.
  4. For every pair of grounded entities, a model answers one question: does this paper relate the two, and how? The answer is either none, or a predicate from the BioLink model with the sentence that supports it.
  5. Code decides what is written: whether the predicate fits the two categories, whether the quoted sentence exists in the paper, and which page each end belongs to.

The result is a table on the paper's own page, one row per statement. A researcher who disagrees with a row can delete it, and the next export no longer contains it.

Review

A pruning agent reviews the edges from Pharos and from the literature. For each edge it reads the evidence and gives a verdict with a reason. The published graph is what remains after its prunes and its weakest keeps are taken out: 21,641 nodes and 70,937 edges. The 18,808 edges left out are listed next to the export with their verdicts, so nothing is deleted.

Two further checks run beside it. Every literature edge records whether its sentence supports it, and every edge carries a calibrated confidence. A curator can overrule a verdict, and that decision is recorded like any other.

Standards and export

Measured results

Known limits

The base it grew out of

LibrisVault started as a self-hosted service that turns PDFs, articles and notes into linked, cited wiki pages. The knowledge graph pipeline uses its intake, its job queue and its sandbox: every agent run happens inside an operating-system sandbox, writes are confined to the vault, and an ingest run has no network access. That base is described in the case study on steinborn.dev, and its code is on GitHub as it stood in September 2026. The code of the knowledge graph pipeline is currently not public.

Further reading