|
Download README.md from Justin6657/prostate-kg-data: direct link, hf CLI and curl.
- Browser
- Download file 2.33 kB
-
https://huggingface.co/datasets/Justin6657/prostate-kg-data/resolve/main/README.md
- Command line
-
hf download hf://datasets/Justin6657/prostate-kg-data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Justin6657/prostate-kg-data/resolve/main/README.md
2.33 kB
| license: other | |
| pretty_name: Prostate cancer knowledge-graph data (private mirror) | |
| # Prostate cancer knowledge-graph data: private mirror | |
| Raw files of the open sources used to build the UVA prostate cancer knowledge graph (non-profit research, Prof. Xi Peng's | |
| lab), packed for fast download by team members. Code, documentation and examples: | |
| github.com/jiazheng-wang-yes/knowledge-graph-data (private). | |
| **Team use only.** Do not redistribute, do not make this repository public, do not upload these files elsewhere. Each | |
| source keeps its own license (below and in the files); several are non-commercial (NC) or no-derivatives (ND). Only | |
| synthetic data derived from these sources is released. | |
| | collection | units | files | size | source and license | | |
| |---|---|---|---|---| | |
| | `guidelines` | 156 | 1,201 | 0.09 GB | PMC Open Access guidelines, consensus statements, reporting systems and teaching reviews with figures, CC0 / CC BY(-SA/-NC/-NC-SA/-ND/-NC-ND) (meta.json) | | |
| | `papers` | 148 | 730 | 0.38 GB | Records and abstracts of 1,000 top-cited papers (Europe PMC); full text only for CC-licensed articles | | |
| | `pmc` | 1,982 | 14,283 | 1.11 GB | PMC Open Access case reports with figures, CC0 / CC BY(-SA/-NC/-NC-SA/-ND/-NC-ND) (meta.json) | | |
| | `tcga_prad` | 500 | 2,051 | 0.20 GB | NIH GDC open access (TCGA-PRAD clinical, biospecimen, pathology reports) | | |
| | `textbooks` | 80 | 1,654 | 0.20 GB | NCBI Bookshelf open-access chapters; per-chapter license in license.txt (CC BY, CC BY-NC(-ND), UK OGL, public domain) | | |
| ## Download | |
| ```bash | |
| git clone https://github.com/jiazheng-wang-yes/knowledge-graph-data.git && cd knowledge-graph-data | |
| hf auth login | |
| python -P scripts/hf_data.py pull # everything, then builds catalog/catalog.sqlite | |
| python -P scripts/hf_data.py pull --only pmc,papers --limit pmc=100 | |
| ``` | |
| Packs are tar files of consecutive units (articles, papers, books, patients) with paths relative to the data root; | |
| `pull` verifies their sha256 and extracts them into `$KGDATA_ROOT` (default `data/`). Index of packs: | |
| `index/<collection>.jsonl`. | |
| ## Contributing data | |
| Download or add files with the repository's scripts, then `python -P scripts/hf_data.py push --only <collection>` (write | |
| access) or `... --pr` (opens a pull request). Versions are tags: `pull --revision v1.0`. | |