Link wiki pages to existing KG nodes where high-confidence mappings can be established from identifiers, cited context, or related entity records. These links turn narrative content into navigable world-model views.
kg_node_id populated or documented no-match rationalekg_node_id counts are recordedkg_node_id IS NULL OR kg_node_id = ''.refs_json, or related wiki_entities rows.415b277f-03b - Atlas quest7b702f3a-680f-4533-aebe-681a6cf2d2bb.AGENTS.md, the shared wiki-KG linking spec, and relevant planning docs.kg_node_id; no commits were found for this task ID.node_wiki_links entries to specific KG concepts that already occur in knowledge_edges; reject broad navigation placeholders such as OVERVIEW, TR, and DISEASES.wiki_pages.kg_node_id mappings in PostgreSQL with JournalContext(task_id=7b702f3a-680f-4533-aebe-681a6cf2d2bb).SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 904 before and 879 after.knowledge_edges; edge reference counts ranged from 1 to 6,137. No placeholder nodes were created./wiki/companies-evgen-pharma, /wiki/companies-vmat-modulators, /wiki/institutions-osaka-neurotherapeutics, /entity/NRF2, /entity/VMAT2, and /entity/BDNF./api/wiki/companies-evgen-pharma returned kg_node_id: "NRF2".wiki_pages.kg_node_id mappings in PostgreSQL via db_writes.save_wiki_page.SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 703 before and 678 after.knowledge_edges; edge counts ranged from 2 (Nanomedicine) to 8,682 (ALZHEIMER). No placeholder nodes created./wiki/companies-braingate, /entity/TREM2, /entity/TAU, /api/wiki/companies-vigil-neuroscience returned kg_node_id: "TREM2", /api/wiki/institutions-tpirc returned kg_node_id: "TAU".knowledge_edges row with relation='describes' and source_type='wiki_page'.knowledge_edges (no placeholder nodes created).kg_node_id values that incorrectly had PROTEIN suffix (e.g., BAG6PROTEIN → BAG6); corrected to match existing KG entities.wiki_pages.kg_node_id values updated to canonical form.describes-type wiki_page edges after this batch: 80.729b8b4b-117c-418c-94b3-126ee491b909.kg_node_id.scripts/link_missing_wiki_kg_nodes_729b8b4b.py with 25 curated expert mappings, each backed by verified KG node existence in knowledge_edges.delta=25)./api/wiki/companies-wave-life-sciences returned kg_node_id: "HUNTINGTON"; /api/wiki/institutions-broad-institute returned kg_node_id: "NEURODEGENERATION"; /api/wiki/researchers-carlo-ferraro returned kg_node_id: "PARKINSON".knowledge_edges.kg_node_id updates — created explicit knowledge_edges rows with source_type='wiki_page', target_type='entity', relation='describes', evidence_strength=1.0.entity_type IN ('gene','protein','disease','entity') that lacked canonical_entity_id and had no existing knowledge_edges wiki_page entries.canonical_entity_id on matching wiki pages.wiki_pages.canonical_entity_id for 30 pages (total with canonical_entity_id: 110 → 140).wiki_pages.kg_node_id mappings in PostgreSQL via direct SQL UPDATE.SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 653 before and 604 after.knowledge_edges; edge counts ranged from 1 (parkinson, imaging, CASK, lewy-body-dementia, NEUROLOGICAL DISORDERS, BRAIN) to 8,107 (ALS). No placeholder nodes created.companies-neuralink → BRAIN, researchers-anthony-lang → Parkinson's disease, institutions-knight-adrc → Alzheimer's disease.node_wiki_links JOIN on knowledge_edges.SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 603 before and 589 after.knowledge_edges (DIAGNOSTICS: 1, ALZHEIMER'S DISEASE: 5608, RAS: 1289, TAU: 2771, ALS: 3356, INFLAMMATION: 3812, TAUOPATHY: 471, PSP: 214, MARK: 2, FTD: 410, PRION: 6).wiki_pages.kg_node_id mappings in PostgreSQL via content-based gene mention analysis.^[A-Z][A-Z0-9]{1,10}$) in content_md. Selected highest-count non-generic gene as KG mapping.SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 589 before and 537 after.kg_edges before update. No placeholder nodes created./api/wiki/companies-nodthera returned kg_node_id: "NLRP3", /api/wiki/researchers-john-hardy returned kg_node_id: "APP".link_wiki_kg.py (content-analysis approach, committed to repo).wiki_pages.kg_node_id mappings in PostgreSQL via content-focused therapeutic area analysis.SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 436 before and 411 after.knowledge_edges; edge counts ranged from 2 (Nanomedicine) to 3,238 (STROKE). No placeholder nodes created.companies-clene → Nanomedicine, companies-cereve-medtronic → SLEEP, companies-mitothera → MITOPHAGY./wiki/companies-clene, /entity/Nanomedicine, /entity/MITOPHAGY.