Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
20
823
1900121 bioprocess_protein 8751
4984 molfunc_protein 4995
2021 anatomy_protein_present 694
7316 protein_protein 79004
92822 anatomy_protein_present 1875
DB01239 drug_drug DB01041
83446 cellcomp_protein 5576
2889 anatomy_protein_present 7
3632 anatomy_protein_present 1987
348 disease_phenotype_positive 26727
22872 anatomy_protein_present 947
8701 anatomy_protein_present 2113
78994 anatomy_protein_present 1231
465 anatomy_protein_present 50840
2371 anatomy_protein_present 84267
56288 protein_protein 7532
7408 protein_protein 2335
DB00489 drug_drug DB07720
12537 phenotype_phenotype 1984
2048 anatomy_protein_present 55139
1874 anatomy_protein_present 84100
11171 protein_protein 83638
57380 anatomy_protein_present 1507
DB00794 drug_drug DB00434
14383_24531 disease_phenotype_positive 9046
9804 disease_phenotype_positive 14700
1871 anatomy_protein_present 347265
10906 anatomy_protein_present 82
2046 anatomy_protein_present 54940
204851 anatomy_protein_present 1826
152006 protein_protein 196403
7088 cellcomp_protein 5829
100506826 anatomy_protein_present 1044
56254 anatomy_protein_present 1295
6813 protein_protein 1997
2190 anatomy_protein_present 10175
DB15160 drug_drug DB06602
13540 anatomy_protein_present 23524
16328 cellcomp_protein 9076
51010 molfunc_protein 1639
821 protein_protein 56992
5386 contraindication DB01193
178 anatomy_protein_present 9990
55156 protein_protein 6812
1155 anatomy_protein_present 1308
DB14060 drug_drug DB01116
51361 protein_protein 8991
5515 molfunc_protein 9453
4638 anatomy_protein_present 160
30084 disease_phenotype_positive 13310
DB01108 drug_drug DB01026
DB09243 drug_drug DB00956
8607 anatomy_protein_present 1882
10025 anatomy_protein_present 956
81847 anatomy_protein_present 2369
5318 protein_protein 2533
473 anatomy_protein_present 283
1954 anatomy_protein_present 25904
DB14132 drug_drug DB11774
DB01560 drug_drug DB09001
2108 anatomy_protein_present 2919
7808 anatomy_protein_present 5708
212 disease_phenotype_positive 9821
DB09256 drug_drug DB14055
DB00314 drug_drug DB00264
3418 protein_protein 6564
DB01267 drug_drug DB01251
DB14009 drug_drug DB01355
DB00397 drug_drug DB11587
DB00220 drug_drug DB01103
99029 cellcomp_cellcomp 98945
992 anatomy_protein_present 4208
DB00452 drug_drug DB00839
DB15477 drug_drug DB00334
16021 cellcomp_protein 201232
DB00441 drug_drug DB00684
1630 anatomy_protein_present 55082
DB11124 drug_drug DB12551
DB12100 drug_drug DB01069
60271 bioprocess_protein 8100
10369 anatomy_protein_present 9834
42127 bioprocess_protein 3725
996 anatomy_protein_present 8677
DB11400 drug_drug DB01221
1596 drug_effect DB00482
1044 anatomy_protein_present 22876
1657 anatomy_protein_present 1950
7264 bioprocess_protein 9771
9416 disease_phenotype_negative 30781
DB08815 drug_drug DB01148
DB01454 drug_drug DB00342
10567 protein_protein 92359
51018 anatomy_protein_present 2113
84466 anatomy_protein_present 1882
9931 anatomy_protein_present 14892
5931 protein_protein 7291
DB00327 contraindication 8733
100192 contraindication DB01117
DB09338 drug_drug DB00501
84502 protein_protein 10009
End of preview. Expand in Data Studio

PrimeKG-CL Benchmark v1.0 (Anon)

PrimeKG-CL is a continual graph learning benchmark built from an evolving biomedical knowledge graph with real temporal change.

Dataset Summary

  • Two temporal snapshots (t0, t1) of a biomedical KG.
  • Temporal diff data for added/removed/persistent facts.
  • 10 continual-learning tasks with train/valid/test splits.
  • Stratified evaluation metadata for retention and forgetting analysis.
  • Multimodal node features (text + molecular + graph tensors).

Snapshots

  • snapshots/kg_t0.csv β€” June 2021 PrimeKG release: 8,100,498 triples, 129,375 nodes, 30 relations.
  • snapshots/kg_t1.csv β€” July 2023 reconstruction from nine upstream databases (Bgee, CTD, GO, Gene2GO, HPO, HPOA, MONDO, Uberon, HGNC): 13,001,666 triples, 134,211 nodes, 25 relations.
  • snapshots/t1_build_info.json β€” provenance and database versions for the t1 reconstruction.

Temporal diff (t0 -> t1)

  • Added: 5,760,234 triples
  • Removed: 888,848 triples
  • Persistent: 7,208,624 triples

Detailed breakdown is in diffs/diff_t0_t1.json.

Data Structure

Continual tasks

Tasks are in tasks/task_*. Each task directory contains:

  • train.txt
  • valid.txt
  • test.txt

Each line is a tab-separated triple:

  • head_id<TAB>relation<TAB>tail_id

Split ratio: 70/10/20.

Task sizes:

  • task_0_base: 8,100,498 triples (full t0)
  • task_1_disease_related: 17,009
  • task_1_drug_related: 125,343
  • task_2_disease_related: 115,382
  • task_2_gene_protein: 2,850,593
  • task_3_gene_protein: 99,761
  • task_3_phenotype_related: 47,997
  • task_4_biological_process: 116,118
  • task_4_phenotype_related: 57,390
  • task_5_anatomy_pathway: 2,752,675

Stratified evaluation

test_stratification.json partitions each task's test triples into:

  • persistent (in both snapshots)
  • added (new in t1)
  • removed (only in t0)

This supports stratified-MRR evaluation of retention vs forgetting.

Multimodal features

  • features/text_embeddings.pt β€” BiomedBERT [CLS] embeddings projected to 256-d (36% entity coverage).
  • features/mol_features.pt β€” Morgan fingerprints (radius 2, 1024 bits) for drugs with SMILES (4% entity coverage).
  • features/edge_index.pt, features/edge_type.pt β€” R-GCN tensors for the full t0 graph.
  • features/node_has_text.pt, features/node_has_mol.pt β€” feature availability masks.
  • features/node_index_map.csv β€” global entity_id <-> row_index mapping.
  • features/vocab_sizes.json β€” entity/relation vocabulary sizes.

Files

  • LICENSE β€” MIT (code) + CC BY 4.0 (data)
  • croissant.json β€” MLCommons Croissant metadata
  • README.md β€” dataset card
  • statistics.json β€” benchmark summary stats
  • test_stratification.json β€” per-task persistent/added/removed counts
  • diffs/diff_t0_t1.json β€” full temporal diff
  • snapshots/ β€” kg_t0.csv, kg_t1.csv, provenance metadata
  • tasks/ β€” continual-learning task splits
  • features/ β€” multimodal node features

Intended Uses

  • Continual knowledge graph completion
  • Continual link prediction
  • Retention/forgetting analysis under temporal KG evolution
  • Multimodal CGL ablations using structure/text/molecular signals

Limitations

  • Dataset quality depends on upstream biomedical resource quality and curation biases.
  • Restrictively licensed sources (DrugBank, UMLS, DrugCentral, SIDER, DisGeNET) were not re-queried for t1; corresponding t0 edges were carried forward unchanged.
  • This benchmark is for machine learning research and is not intended for clinical decision-making.

Licensing

  • Data files: CC BY 4.0 (inheriting PrimeKG terms)
  • Code/configuration artifacts: MIT

Users are responsible for compliance with applicable upstream database licenses.

Citation

@inproceedings{primekgcl2026,
  title={PrimeKG-CL: A Continual Graph Learning Benchmark on Evolving Biomedical Knowledge Graphs},
  author={Anonymous},
  booktitle={NeurIPS Datasets and Benchmarks Track},
  year={2026}
}
Downloads last month
98