Files
arzani 577b9f4557
LocationBasedServices/smartguide/pipeline/head This commit looks good
initial version of multipliers in three levels: bridgers, mentors & amplifiers
2026-07-16 01:52:54 +02:00

6.0 KiB

Cohort discovery: finding a university's associated institutions in OpenAlex

How the cohorts.<ID>.institution_ids list in multipliers.yaml was built for the University of Duisburg-Essen (I62318514), and how to repeat the process for another university. Context: the multiplicator pipeline's author set is only as good as this list — matching UDE alone silently excluded ~2,400 active clinicians, including prominent medicine professors (found via the M1 validation, where 17/60 hand-labeled people were missing).

Why this is necessary: lineage vs associated_institutions

Every institution document in OpenAlex (index openalex-institutions) carries two relationship fields:

  • lineage — the strict parent hierarchy: a list of institution IDs including the institution itself and its parents. This is what ID-based filters normally use (e.g. company_connections/logic.py checks UDE_OPENALEX_ID in lineage).
  • associated_institutions — a looser list of linked institutions, each with a relationship label: child, parent, or related.

The trap: OpenAlex models German university hospitals as related, not as lineage children. Essen University Hospital's own lineage contains only itself. Any filter built on UDE's ID or lineage therefore can never match hospital-affiliated authors — the entire clinical medical faculty — no matter how the query is written.

The discovery method (3 steps)

Step 1 — read the university's associated_institutions

Query the openalex-institutions document for the primary ID and list its associated_institutions. For UDE (I62318514):

ID relationship name authors (all-time last_known)
I4210090139 child Rhein-Ruhr Institut für Sozialforschung 11
I4210092428 child Deutsches Textilforschungszentrum Nord-West 170
I4210110714 child Institute for Advanced Study in the Humanities (KWI) 81
I4210146441 child Hydrogen and Fuel Cell Center (ZBT) 98
I4210154243 child Institut für Energie- und Umwelttechnik (IUTA) 233
I4210119759 related Essen University Hospital 7,484
I4210146447 related Kliniken Essen-Mitte 788
I2799342142 related Salomon Ludwig Steinheim-Institut —
I4210124583 related IWW Water Centre —

(For comparison: UDE itself has 14,388 all-time last_known authors.)

The hospital's own associated_institutions revealed a member invisible from UDE's record: the West German Heart and Vascular Center Essen (I4210161917) is a child of the hospital (1,021 authors) — two hops from UDE.

Step 3 — validate against real people (this catches what no query can)

The Erwin L. Hahn Institute for MRI (I127668822) was NOT found by any metadata walk: in OpenAlex it is completely isolated — lineage contains only itself, associated_institutions is empty. It surfaced only when diagnosing why a specific hand-labeled professor (Ulrike Bingel) was missing from the cohort: it appeared in her affiliation list. Lesson: after building the list from metadata, always check a set of known current researchers against the extracted cohort — the misses point to institutions the graph walk cannot reach.

Inclusion decisions for UDE (documented in multipliers.yaml)

Included (9):

  • I62318514 UDE (primary)
  • I4210119759 Essen University Hospital — it is the university medical centre; its related label is an OpenAlex modelling choice, not an organisational fact
  • I4210161917 West German Heart and Vascular Center (child of the hospital)
  • I127668822 Erwin L. Hahn Institute (joint UDE institute; isolated in OpenAlex)
  • The five lineage children: RISP, DTNW, KWI, ZBT, IUTA — small but unambiguous

Excluded by default (revisit with the coaches):

  • I4210146447 Kliniken Essen-Mitte — an independent hospital group; related reflects collaboration, not membership; its staff are not UDE researchers
  • I2799342142 Salomon Ludwig Steinheim-Institut and I4210124583 IWW Water Centre — An-Institute: legally independent institutes at UDE, not of it

The borderline cases are exactly the German-institutional-law ones (An-Institute, municipal hospital groups). These are human judgment calls, which is why the list lives in config with the reasoning inline, not in code.

Effect on the cohort (measured)

UDE ID only 9-institution cohort
Authors (affiliation ≥ 2023) ~7,100¹ 9,475
Hand-labeled sample matched 43/60² 51/60
Unexplained misses 17 0 (the 9 remaining all verifiably left UDE)

¹ approximate — the single-ID number was measured at the 2025 cutoff (4,921); scaled here for context. ² at the 2025 cutoff; the cohort fix and the 2023 affiliation window each contributed.

Recovered by the fix, as a face-validity check: Oliver Witzke (Senior, 73 juniors mentored → tagged mentor) and Ulrike Bingel (Senior, 34 juniors, 21 last-author-with-junior-first works → tagged mentor).

Repeating this for another university

  1. Fetch associated_institutions from openalex-institutions for the primary ID; collect all child entries and every related entry.
  2. For any related hospital / medical centre, fetch ITS associated_institutions and collect its children.
  3. For each candidate, count authors (last_known_institutions.id == <candidate> on openalex-authors) — size tells you what an inclusion decision is worth.
  4. Decide inclusions with a human: university hospitals in; independent hospital groups and An-Institute out unless the institution says otherwise.
  5. Write the cohorts.<primary-ID> block in multipliers.yaml with the reasoning as inline comments.
  6. Run the extraction, then validate against a list of known current researchers (professors from several faculties, especially medicine). Every unexplained miss is either a missing cohort member (like the Hahn Institute) or a stale-affiliation case (tune extraction.affiliation_years_gte).