|
Download README.md from re-cep/vitiligo-knowledge-graph: direct link, hf CLI and curl.
- Browser
- Download file 19.3 kB
-
https://huggingface.co/datasets/re-cep/vitiligo-knowledge-graph/resolve/main/README.md
- Command line
-
hf download hf://datasets/re-cep/vitiligo-knowledge-graph/README.md
-
curl -L -o README.md https://huggingface.co/datasets/re-cep/vitiligo-knowledge-graph/resolve/main/README.md
19.3 kB
| license: | |
| - cc-by-4.0 | |
| - cc-by-sa-4.0 | |
| - other | |
| language: | |
| - en | |
| pretty_name: Vitiligo Knowledge Graph | |
| tags: | |
| - biomedical | |
| - knowledge-graph | |
| - vitiligo | |
| - relation-extraction | |
| - clinical-trials | |
| size_categories: | |
| - 10K<n<100K | |
| configs: | |
| - config_name: relations | |
| data_files: relations.jsonl | |
| default: true | |
| - config_name: entities | |
| data_files: entities.jsonl | |
| - config_name: evidence | |
| data_files: evidence.jsonl | |
| - config_name: ictrp_relations | |
| data_files: ictrp/relations.jsonl | |
| - config_name: ictrp_entities | |
| data_files: ictrp/entities.jsonl | |
| - config_name: ictrp_evidence | |
| data_files: ictrp/evidence.jsonl | |
| - config_name: share_alike_relations | |
| data_files: share-alike/relations.jsonl | |
| - config_name: share_alike_evidence | |
| data_files: share-alike/evidence.jsonl | |
| # Vitiligo Knowledge Graph | |
| A knowledge graph of vitiligo research from the | |
| [Vitiligo Initiative](https://github.com/recepsirin/vitiligo-initiative), an | |
| open, non-profit research platform. It links the drugs, genes, diseases, | |
| biomarkers, interventions and clinical trials of the vitiligo literature, and | |
| every relation carries the evidence it rests on: the paper, trial record or | |
| database entry, and where licensing allows, the sentence itself. | |
| | | Count | | |
| |---|---| | |
| | Entities | 17,139 | | |
| | Relations | 92,816 | | |
| | Measured relations | 39,280 | | |
| | Evidence rows | 223,719 | | |
| | Quoted sentences | 84,901 | | |
| A further 1,727 relations resting only on WHO ICTRP records, and 693 resting | |
| only on ChEMBL or DrugCentral, are published separately under their sources' | |
| terms (see [Licensing](#licensing)), bringing the total to 95,236 relations. | |
| Snapshot of 10 November 2026, corrected on 21 and 22 November 2026 (see | |
| [Changes](#changes)). Research data, not medical advice. | |
| ## Contents | |
| **Entities** (`entities`): 6,900 diseases and adverse events (an adverse | |
| event is the node of the disease or finding it names, so "herpes zoster" in | |
| a trial's safety table and in a paper is one node), 4,348 targets (genes and | |
| proteins), 1,577 trials, 1,351 drugs, 1,201 interventions (procedures, | |
| phototherapy and combination regimens), 912 biomarkers, 810 biological pathways | |
| (WikiPathways CC0, Gene Ontology CC-BY-4.0, and Reactome), 23 outcomes, 11 | |
| cell types, and related mechanisms and phenotypes. | |
| **Relations** (`relations`): changes 28,588 · associated_with 21,796 · | |
| participates_in 21,086 · co_expressed_with 8,367 · treats 2,772 · tested_in 2,735 · | |
| inhibits 1,985 · causes 1,916 · investigates 1,577 · activates 1,003 · | |
| expressed_in 841 · targets 83 · combined_with 61 · occurs_in 6. | |
| **Evidence** (`evidence`): one row per source of a relation: papers read by | |
| PubTator 3.0 and by this project's relation extractor (including the bodies of | |
| 2,712 PMC full texts), trial registries and the results trials posted, results | |
| read by hand from trial papers, gene expression and co-expression measured in | |
| vitiligo skin (punch biopsies: GSE65127, GSE75819 and GSE311770, 105 biopsies; | |
| single cells: GSE298871, 24,746 cells from 17 samples), and WikiPathways and Gene | |
| Ontology annotations. A relation stated by several papers or measurements has | |
| several rows. ChEMBL's drug mechanisms and DrugCentral's human drug-target | |
| bioactivities are in `share_alike_relations` and `share_alike_evidence`. | |
| ## Schema | |
| `entities` | |
| | Column | Description | | |
| |---|---| | |
| | `id` | Entity id, referenced by `relations` | | |
| | `kind` | target, drug, disease, trial, biomarker, intervention, ... | | |
| | `key`, `name` | Normalised key and display name | | |
| | `aliases` | Other names | | |
| | `external_ids` | Identifiers in source databases (registry ids, Open Targets, EFO, ...) | | |
| `relations` | |
| | Column | Description | | |
| |---|---| | |
| | `id` | Relation id, referenced by `evidence` | | |
| | `subject_id`, `predicate`, `object_id` | The relation | | |
| | `confidence` | 0-1; registries and curated records rank above text mining | | |
| | `claim` | `asserted` (a paper, a registry or a curated database states it) or `observed` (39,280 relations a measurement supports; see [Limitations](#limitations)) | | |
| | `causal_level` | The rung on the causal ladder: for an observed relation, how direct its measurement is (`perturbation_in_human`, `correlation_in_human`, `association`, `human_genetics`, ...); `knowledge_base` for the 21,208 annotations of curated databases; and for 161 asserted relations, the rung their source claims | | |
| | `extraction_method` | How it was obtained (see [Sources](#sources)) | | |
| | `evidence_count` | Evidence rows for this relation in its own files; its rows resting on WHO ICTRP, ChEMBL or DrugCentral are in `ictrp_evidence` and `share_alike_evidence` | | |
| `evidence` | |
| | Column | Description | | |
| |---|---| | |
| | `relation_id` | The relation it supports | | |
| | `source` | Where it comes from: `pmid:…`, `ctgov:NCT…`, `opentargets:…`, `reporter:…`, ... | | |
| | `source_kind` | posted_result, relation_extractor and biored-biomedbert-silver-gold (the first and current versions of the relation extractor), biored-biomedbert-fulltext, pubtator3, curated_result, trial, expression, geo, geo_scrnaseq, wikipathways, go, cell_ontology, pathway_knowledge_base, prior, gwas, trial_result, mechanism; and chembl in `share_alike_evidence` | | |
| | `relation_label` | The text-mining label (BioRED types: Association, Positive_Correlation, ...) | | |
| | `score` | The text miner's score, where there is one | | |
| | `section` | The paper section a sentence came from | | |
| | `text`, `text_licence` | The sentence, where its licence allows; otherwise null | | |
| | `details` | Source-specific fields as JSON (a trial result's numbers, a gene's fold change and FDR, a gene pair's Pearson r with its sign, a gene's expression in a cell lineage, GWAS p-value and cohort, trial phase, ...) | | |
| ## Sources | |
| | Method | Relations | How it was made | Measured accuracy | | |
| |---|---|---|---| | |
| | `posted_result` | 27,083 | Results 752 trials posted to ClinicalTrials.gov: adverse events from trials of the same drugs in any disease, outcomes and comparisons from vitiligo trials. Each results group is read as the regimen it received, a drug known by any name MeSH gives it (AIN457 is secukinumab, Stelara ustekinumab); a group switched from placebo to drug, set side by side with another, or pooled is left out | Numbers as posted: 300 of 300 sampled rows match the registry. Groups: 59 of 63 sampled read right | | |
| | `relation_extractor` | 14,828 | Full-text bodies and other text read by the first version of the [Vitiligo Relation Extractor](https://huggingface.co/re-cep/vitiligo-relation-extractor) (BioRED test F1 0.687 for the related pair, 0.540 with its type), with a loading rule (probability ≥ 0.8, no tables or figures, no co-administration, "treats" only for vitiligo) | 45 of 60 correct (75%); 15 of 17 where vitiligo is one end | | |
| | `wikipathways` | 11,976 | Genes' pathway memberships in WikiPathways, through MyGene.info | Database statements | | |
| | `pubtator3` | 9,313 | PubTator 3.0's relations from PubMed abstracts, checked against MeSH | Of hand-checked samples: 30 of 34 "treats vitiligo", 31 of 34 "gene associated with vitiligo" | | |
| | `gene_ontology_experimental` | 9,035 | Gene Ontology biological-process annotations with an experimental (IDA, IMP, IGI, IPI, IEP), author-statement (TAS) or curator (IC) evidence code, through MyGene.info | Database statements | | |
| | `geo_punch_biopsies_gse311770` | 8,367 | Gene pairs whose expression correlates across 105 vitiligo skin punch biopsies (GSE311770): each gene's 15 strongest correlations at Pearson \|r\| ≥ 0.70, p < 10⁻⁵, with r and its sign in `details` (299 pairs are anti-correlated) | Measured; a correlation, not an interaction | | |
| | `structured` | 5,563 | Trial registries (ClinicalTrials.gov, EU CTR, ISRCTN), Open Targets, and curated trial arms | Database statements | | |
| | `biored-biomedbert-silver-gold` | 2,901 | The same text read by the current version of the Vitiligo Relation Extractor (BiomedBERT with ATLOP pooling; BioRED test F1 0.730 for the related pair, 0.602 with its type), under the same loading rule. It also adds evidence to relations found before, and reads the six Open Targets drug priors PubTator never tags where their names are written (afamelanotide, etanercept, povorcitinib, abatacept, ifidancitinib, ordesekimab) | The drug priors' relations, read by hand before loading: 76 of 81 "treats vitiligo" correct (94%), and 32 of a sample of 37 others (86%); the rest not yet checked | | |
| | `curated_result` | 1,484 | Results read by hand from the papers of 839 trials: responder rates, scores, p-values and adverse events, each with its arm and the section it was read from | Curated; every value cites its place in the paper | | |
| | `expression` | 1,247 | Genes lesional skin expresses differently in three GEO cohorts (GSE65127, GSE75819, GSE311770; a fourth, GSE53146, tested and not used), against the same patients' unaffected skin or healthy donors: limma's moderated t, pairs as pairs, FDR < 5% and a twofold change. A comparison is used only if it sees the melanocytes' pigment genes lower. 1,484 genes in all, 1,247 not otherwise linked to vitiligo | Measured; 73 genes agree across two or more cohorts and rank above those seen once; 6 move in opposite directions in two | | |
| | `sc_rnaseq_gse298871` | 672 | Genes a skin cell lineage expresses in single-cell RNA-seq of vitiligo and control skin (GSE298871: 24,746 cells from 17 samples, 16,409 assigned to eight lineages by their marker genes). A gene is listed for one of its two highest lineages where it is at least 2.2-fold above the median of the other lineages and detected in 10% of the lineage's cells: 737 rows for 547 genes, 65 of them on a relation another source made, such as a Cell Ontology marker | Measured | | |
| | `cell_ontology` | 131 | Marker genes of eight skin cell lineages, from lists this project wrote, each lineage anchored to its Cell Ontology term; 61 also carry a single-cell measurement | Curated | | |
| | `curated_pathway` | 75 | Members of canonical vitiligo pathways (IFN-γ signalling, JAK-STAT and others), from lists this project wrote, anchored to GO and Reactome | Curated | | |
| | `gwas` | 50 | GWAS Catalog associations, with p-value and cohort | Measured | | |
| | `trial_result` | 21 | Posted trial responder rates | Measured | | |
| | `mechanism_record` | 18 | Curated mechanism hypotheses with their causal rung | Curated | | |
| | `chembl_mechanism` | 52 | Drug mechanisms ChEMBL curates that another source also states: the other source's rows are here, ChEMBL's in `share_alike_evidence` | Database statements | | |
| In `share_alike_relations`: `chembl_mechanism` 343, drug mechanisms of action | |
| curated by ChEMBL (database statements), and `drugcentral_bioactivity` 350, | |
| human drug-target bioactivities from DrugCentral at pChEMBL ≥ 6.5, | |
| sub-micromolar (measured assay values), both through MyChem.info. | |
| Trials are the 2,262 vitiligo trials of the corpus: 1,577 here, and the trials | |
| registered only with WHO ICTRP in the `ictrp_*` configurations. Trials known | |
| only from their papers take their interventions from curated trial arms. | |
| Placebo and vehicle arms are recorded as tested, never as treatments. | |
| A `changes` relation joins a regimen to what was measured in the people | |
| given it: what an arm received (a combination such as "NB-UVB + tacrolimus" | |
| is a regimen of its own) and either an outcome family (repigmentation, | |
| relapse, quality of life, ...) or an adverse event. Each evidence row is one | |
| value, with its numbers in `details`, and beside them what the trial's | |
| control group showed: an adverse event row reads "5 of 100 on the drug" | |
| next to "1 of 50 on vehicle". Values pooled across arms name no regimen and | |
| are left out; a placebo or untreated arm appears only as what a regimen was | |
| compared with. Outcomes are taken only from vitiligo trials; adverse events | |
| from trials of the same drugs in any disease. | |
| ## Licensing | |
| - **This release (CC BY 4.0).** Relations and pointers are released under | |
| CC BY 4.0. Quoted sentences are included only where their source permits | |
| it: 52,771 from open-access papers licensed CC BY or CC0, 1,271 from NIH | |
| RePORTER and 426 from ClinicalTrials.gov, whose posted results are | |
| likewise public records of the US government. A further 30,364 state the | |
| records of the databases under [Sources](#sources), each row naming its | |
| licence in `text_licence`: WikiPathways 11,976 (CC0), Gene Ontology 9,102 | |
| (CC BY 4.0), GEO 9,147 (US government), Cell Ontology 131 (CC BY 4.0) and | |
| Reactome 8 (CC BY 4.0). Every other sentence is given as a pointer to its | |
| paper and section; its text is the publisher's or author's under the | |
| paper's own licence. | |
| - **`share_alike_*` (CC BY-SA 4.0).** The 693 relations and 771 evidence | |
| rows that rest on ChEMBL's curated drug mechanisms (CC BY-SA 3.0, 408 rows) | |
| and DrugCentral's bioactivities (CC BY-SA 4.0, 363 rows), whose licences | |
| ask that what is made from them be shared alike. Each row's text is this | |
| project's sentence stating the record, and `text_licence` names its source. | |
| Every entity these relations name is in `entities`. | |
| - **`ictrp_*` (WHO ICTRP terms).** Relations and evidence resting on records | |
| of WHO's International Clinical Trials Registry Platform, which permits | |
| reuse with attribution but not for commercial purposes. Credit WHO ICTRP | |
| as the source when using them. | |
| - **Excluded.** Eight evidence entries derived from DrugBank, whose terms do | |
| not allow redistribution. | |
| - Article licences were taken from Europe PMC. BioRED and PubTator 3.0 are | |
| NCBI resources; Open Targets is CC0; GWAS Catalog data are mostly CC0. | |
| Expression results are this project's analysis of GEO series, which NCBI | |
| makes available without restriction. | |
| ## Limitations | |
| - About two-fifths of the relations are **measurements** (39,280): results | |
| trials posted or printed; gene expression, co-expression and single-cell | |
| expression measured in vitiligo skin; and genetic associations. That count | |
| includes 348 relations a paper, registry or curated list stated first that | |
| a measurement has since joined, and 3 mechanism records of an observed | |
| result. The rest are **assertions**: a paper, a registry or a curated | |
| database states them. | |
| - A gene expressed differently in lesional skin is an **association**, not a | |
| cause: most of the strongest are the genes of the melanocytes the lesion | |
| has lost. | |
| - A `changes` relation says a regimen was measured against an outcome, not | |
| that it worked, and an adverse event under a drug is what was recorded in | |
| the people taking it, not proof the drug caused it: read the numbers | |
| beside the control group's in its evidence. | |
| - In a hand check of the relation extractor's first version, about a | |
| quarter of the relations it loaded from full texts were wrong; its current | |
| version has not been checked by hand. Check a relation against its | |
| evidence before relying on it. | |
| - `associated_with` is the most common and least specific relation: it says | |
| two things are linked, not how. | |
| - A relation's absence means no source in the corpus stated it, not that it | |
| is false. | |
| ## Changes | |
| **22 November 2026.** WHO ICTRP's free-text interventions run an arm's name | |
| and its description together, and 670 had become drug entities named with a | |
| whole description or protocol text (43% of `ictrp_entities`). Each is now named | |
| by its label ("Ointment of Apamargaksharyoga", not the dosing that followed). | |
| The Chinese registries (ChiCTR, ITMCTR) label each group instead, with what it | |
| is given ("Vitiligo group:None;"), and are read that way. A value that names | |
| nothing a group is given, such as prose, a placeholder, a population, a sample | |
| or a measure, no longer makes an entity. The first upload of this date still | |
| read the Chinese records the other way, and named groups as drugs, one of them | |
| "Vitiligo"; the second, the same day, corrected it. `ictrp_entities` holds | |
| 1,170 entities and `ictrp_relations` 1,727 relations, from 1,563 and 2,466. In | |
| the main files, thirteen entities gained a registry's spelling as an alias or a | |
| longer name, and two `treats` relations (pioglitazone and babchi oil), now also | |
| stated by an ICTRP trial, rose to confidence 0.68. | |
| A third update the same day made one drug one entity. A paper's chemical is | |
| named by its MeSH heading and a registry's by its own name, so 32 drugs each | |
| held two to four entities: ritlecitinib's papers sat on "PF-06651600", MeSH's | |
| heading for it. The 36 extra entities folded into their drug, keeping the name | |
| a registry or prior gave and the rest as aliases; their relations folded into | |
| the drug's, and 76 of ChEMBL's and DrugCentral's joined relations other | |
| sources state. It also added 149 evidence rows, 32 of them new relations, read | |
| by the current relation extractor for the six Open Targets drug priors | |
| PubTator never tags (afamelanotide, etanercept, povorcitinib, abatacept, | |
| ifidancitinib, ordesekimab), checked by hand before loading (see | |
| [Sources](#sources)). | |
| **21 November 2026.** Corrections to the snapshot of 10 November: | |
| - **Co-expression** `pearson_r` held \|r\|, without its sign. It now gives r: | |
| 299 of the 8,367 pairs are anti-correlated, and their sentences say so. | |
| - **Single-cell expression** had been seeded from an earlier lineage profile | |
| and never refreshed, and it skipped any gene-lineage pair another source | |
| had already linked, so canonical melanocyte genes such as DCT, PMEL and TYR | |
| had no measurement. Its rows now follow the current profile: 737 for 547 | |
| genes, from 675 for 505. | |
| - **Curated annotations** (21,625 from WikiPathways, the Gene Ontology, | |
| ChEMBL, the Cell Ontology and the project's pathway lists) were labelled | |
| `observed`. They are `asserted`, on the `knowledge_base` rung, unless a | |
| measurement has since joined them; ChEMBL's mechanisms had sat on the | |
| `perturbation_in_human` rung. | |
| - **ChEMBL and DrugCentral** moved to `share_alike_*` under CC BY-SA 4.0. The | |
| card had described DrugCentral as CC0; its licence is CC BY-SA 4.0. | |
| - **Trials.** 27 trials registered through WHO ICTRP had a wrong or missing | |
| phase: 16 EU trials read as phase 4 (CTIS and EudraCT list every phase | |
| marked yes or no, and the parser took "Phase IV" from "(Phase IV): no"), | |
| 7 PACTR trials and 1 IRCT trial whose phase was not read, and 3 that had | |
| lost their second phase. 16 trial statuses had fallen behind their | |
| registry records (15 ClinicalTrials.gov, 1 ISRCTN). | |
| ## Usage | |
| ```python | |
| from datasets import load_dataset | |
| relations = load_dataset("re-cep/vitiligo-knowledge-graph", "relations", split="train") | |
| entities = load_dataset("re-cep/vitiligo-knowledge-graph", "entities", split="train") | |
| evidence = load_dataset("re-cep/vitiligo-knowledge-graph", "evidence", split="train") | |
| # Under their own terms: ictrp_relations, ictrp_entities, ictrp_evidence (WHO ICTRP) | |
| # and share_alike_relations, share_alike_evidence (CC BY-SA 4.0). | |
| ``` | |
| The release is rebuilt with `vitiligo graph release` from the | |
| [project repository](https://github.com/recepsirin/vitiligo-initiative). | |
| ## Citation | |
| If you use this dataset, cite the Vitiligo Initiative and the sources it | |
| builds on: PubTator 3.0 (Wei et al., *Nucleic Acids Research* 2024), BioRED | |
| (Luo et al., *Briefings in Bioinformatics* 2022), Open Targets, the GWAS | |
| Catalog, WHO ICTRP, ClinicalTrials.gov, WikiPathways, the Gene Ontology, | |
| Reactome, the Cell Ontology, ChEMBL, DrugCentral, and the GEO series | |
| GSE65127, GSE75819, GSE311770 and GSE298871. | |