Skip to main content

Golden Pages

One concept, three names

The single most confusing thing about this part of the system is that one idea has three names that accreted over time. This page reconciles them up front so the rest makes sense:

Name you'll seeWhere it livesWhat it actually means
Golden pageprose, this pageThe concept: a page the hospital itself publishes that authoritatively lists its own entities (all cardiologists, all departments). The "ground truth" we trust.
Hub / detailthe page-type label stored for each golden pageThe classification. A golden page is either a hub (a navigational listing — the trust anchor) or a detail (a single-entity page).
Golden seedthe provenance label on seeded entitiesThe provenance stamp. Marks an entity as created top-down by the seeder from a golden page, not extracted bottom-up from prose.

Throughout this page, "golden page" = a hub page unless stated otherwise. The earlier 8-type vocabulary was collapsed into the binary hub/detail classification — see ADR-0028.

What problem do golden pages solve?​

The taxonomy is a graph of entities (doctors, departments, conditions, treatments) connected by relationships (a neurologist WORKS_IN Neurologie; Cardiologie HANDLES hartfalen). The quality of every downstream answer — entity resolution, department routing, graph-RAG — depends on those relationships being true.

There are two fundamentally different ways to build that graph, and the difference is the whole story:

When entities were extracted bottom-up from unstructured content, mere co-occurrence in a brochure forged structural relationships. The symptoms (as recorded in the project's decision record ADR-0028, from its own analysis of the graph) were concrete:

  • Phantom relationships — "Dementie HANDLED_BY Urologie" because the two words appeared in the same leaflet.
  • Hub-node inflation — Spoedgevallen (Emergency) accrued 244 relationships purely from co-occurrence.
  • Orphan doctors — 53 doctors with no WORKS_IN because their department was never named in the same paragraph.
  • Meaning drift — a passing brochure mention became a load-bearing structural edge.

Golden-page seeding is the cure: define the authoritative entity set first, top-down, from pages the hospital publishes specifically to enumerate its own doctors and departments. Everything else is then gated against that ground truth.

What makes a page "golden"?​

A golden page is a navigational listing page — a page whose job is to enumerate entities, not describe one. Concretely, on the hospital's website:

Example pageEnumeratesClassified
The doctor directoryevery doctorhub
The department indexevery departmenthub
A department's consultation listingdoctors + schedule for one departmenthub
One doctor's pagea single doctordetail
One condition's pagea single conditiondetail

The distinction is structural authority, not topic: a hub page is the hospital's own canonical list, so the entities on it — and the relationships implied by their grouping (this doctor appears under this department ⇒ WORKS_IN) — are trustworthy by construction. A detail page is about one entity; it is stored and retrievable, but it is not allowed to mint new entities or structural edges into the taxonomy.

Where golden pages live​

Golden pages are a first-class, DB-backed concept — not a config constant. They are stored records, each carrying a page type that is either hub or detail, plus a confirmation status. Hub URLs are no longer hand-listed in a configuration file — they are discovered automatically and then confirmed by an operator.

The hub-detection lifecycle​

  1. Pre-filter — a content-quality gate demotes pages with insufficient content before classification, so thin pages can't masquerade as hubs (this replaced the old URL-pattern heuristic, which was a false-positive source).
  2. AI classify — an LLM labels each surviving page hub or detail and proposes the entity types it lists.
  3. Store candidates — results are stored as candidates.
  4. Human confirm/reject — an operator confirms, rejects, or manually designates URLs (surfaced in the Pipeline Wizard). Confirmation is the trust gate: a page is only golden once a human says so.

This AI-proposes / human-confirms loop is the deliberate design choice — it keeps the authoritative entity set auditable without forcing operators to hand-maintain URL lists.

How golden pages seed the taxonomy​

Confirmed hubs are consumed top-down by the golden-page seeder during Phase 2 of the seeding pipeline. Entities it creates are stamped with a golden-seed provenance label and a synthetic source identifier, so their golden provenance is permanent and queryable.

Crucially, the seeder only seeds entities that were actually scraped from golden pages — it does not invent. Relationships derived from a hub's structure (a doctor listed under a department ⇒ WORKS_IN) are written with the highest confidence (1.0). By contrast, SNOMED-derived relationships enter at 0.7, and curated overrides win over both (see the Three-Source merge priority: Curated > Scraped > SNOMED).

Provenance split: curated vs mentioned​

Golden-page provenance is encoded directly on the edges, so every relationship carries how much we trust it:

ProvenanceSourceStrength
Curated froma golden/hub pageStrong — structural, from the hospital's own list
Mentioned ina brochure / news / general pageWeak — a mention, not a structural claim

This is what makes the graph auditable: you can always ask "is this edge curated or merely mentioned?" and weight it accordingly.

The gate that enforces it all: golden-only mode​

The discipline is enforced by one setting, on by default:

Page typeCan write entities/structural edges to the taxonomy?
hub (golden)Always — defines the authoritative entity set
detailOnly when golden-only mode is switched off

With the default in force, ordinary content ingestion cannot pollute the taxonomy. Crawled brochures still produce page summaries for contextual retrieval and remain fully searchable, but their entity data is written to document metadata only — never to the taxonomy. (The golden-page seeder itself always has full write authority regardless of the setting.)

How golden pages relate to retrieval​

A common misconception worth heading off for an examiner: golden pages are not themselves retrieved at query time. They operate entirely at build time. Their payoff is indirect but decisive:

Because the taxonomy is seeded from ground truth, the query-time subsystems that read it — the taxonomy query-enrichment resolver chain, SNOMED routing, and graph-RAG — resolve "ik zoek een hartdokter" to the real cardiologists in the real Cardiologie department, instead of to a phantom edge a brochure happened to imply. Golden pages buy retrieval correctness, paid for once at seeding time.

Summary​

  • A golden page is an authoritative listing page the hospital publishes; in the database it is a stored record typed hub (trust anchor) or detail (single entity).
  • They are AI-discovered, human-confirmed — not hand-maintained URL lists — via the hub-detection lifecycle.
  • The golden-page seeder seeds the taxonomy top-down from confirmed hubs at confidence 1.0, stamping golden-seed provenance.
  • The golden-only gate (on by default) stops ordinary crawled content from writing to the taxonomy, killing the phantom-relationship / hub-inflation / orphan-doctor / meaning-drift failure modes that motivated the design.
  • Edges carry curated-from (strong) vs mentioned-in (weak) provenance for auditability.
  • Golden pages act at build time; their dividend is query-time correctness.

See also​