class_docstr: The Clinical Knowledge Graph (CKG) dataset from [santos2020]_.
  
  ---
  name: Clinical Knowledge Graph
  citation:
      author: Santos
      year: 2020
      link: https://doi.org/10.1101/2020.05.09.084897
      github: MannLabs/CKG
  single: true
  statistics:
      entities: 7617419
      relations: 11
      triples: 26691525
      training: 21353220
      testing: 2669152
      validation: 2669153
class_docstr_tok: ["The","Clinical","Knowledge","Graph","(","CKG",")","dataset","from","[","santos2020","]","_",".","--","-","name",":","Clinical","Knowledge","Graph","citation",":","author",":","Santos","year",":","2020","link",":","https",":","\/\/doi.org\/10.1101\/2020.05.09.084897","github",":","MannLabs\/CKG","single",":","true","statistics",":","entities",":","7617419","relations",":","11","triples",":","26691525","training",":","21353220","testing",":","2669152","validation",":","2669153"]
docstr: Initialize the `CKG <https://github.com/MannLabs/CKG>`_ dataset from [santos2020]_.
  
  :param random_state: The random seed to use in splitting the dataset. Defaults to 0.
  :param kwargs: keyword arguments passed to :class:`pykeen.datasets.base.TabbedDataset`.
docstr_tok: ["Initialize","the","`","CKG","<","https",":","\/\/github.com\/MannLabs\/CKG",">","`","_","dataset","from","[","santos2020","]","_.",":","param","random_state",":","The","random","seed","to","use","in","splitting","the","dataset",".","Defaults","to","0.",":","param","kwargs",":","keyword","arguments","passed","to",":","class",":","`","pykeen.datasets.base.TabbedDataset","`","."]
code: def __init__(
      self,
      random_state: TorchRandomHint = 0,
      **kwargs,
  ):
      """Initialize the `CKG <https://github.com/MannLabs/CKG>`_ dataset from [santos2020]_.
  
      :param random_state: The random seed to use in splitting the dataset. Defaults to 0.
      :param kwargs: keyword arguments passed to :class:`pykeen.datasets.base.TabbedDataset`.
      """
      super().__init__(
          random_state=random_state,
          **kwargs,
      )
      self.preloaded_path = self.cache_root.joinpath("preloaded.tsv.gz")
  
file_path: pykeen/src/pykeen/datasets/ckg.py
imports: import pathlib
  import tarfile
  from pathlib import Path
  from typing import Iterable, Optional
  from urllib.request import urlretrieve
  import click
  import pandas
  from docdata import parse_docdata
  from more_click import verbose_option
  from .base import TabbedDataset
  from ..typing import TorchRandomHint
label_desc: Use image node_id 1 to create a new CKG object from inherited base classes: TabbedDataset with example: obj = CKG(random_state)