class_docstr: The WordNet18 dataset from the `"Translating Embeddings for Modeling
  Multi-Relational Data"
  <https://papers.nips.cc/paper/5071-translating-embeddings-for-modeling
  -multi-relational-data>`_ paper,
  containing 40,943 entities, 18 relations and 151,442 fact triplets,
  *e.g.*, furniture includes bed.
  
  .. note::
  
      The original :obj:`WordNet18` dataset suffers from test leakage, *i.e.*
      more than 80% of test triplets can be found in the training set with
      another relation type.
      Therefore, it should not be used for research evaluation anymore.
      We recommend to use its cleaned version
      :class:`~torch_geometric.datasets.WordNet18RR` instead.
  
  Args:
      root (str): Root directory where the dataset should be saved.
      transform (callable, optional): A function/transform that takes in an
          :obj:`torch_geometric.data.Data` object and returns a transformed
          version. The data object will be transformed before every access.
          (default: :obj:`None`)
      pre_transform (callable, optional): A function/transform that takes in
          an :obj:`torch_geometric.data.Data` object and returns a
          transformed version. The data object will be transformed before
          being saved to disk. (default: :obj:`None`)
      force_reload (bool, optional): Whether to re-process the dataset.
          (default: :obj:`False`)
class_docstr_tok: ["The","WordNet18","dataset","from","the","`","``","Translating","Embeddings","for","Modeling","Multi-Relational","Data","''","<","https",":","\/\/papers.nips.cc\/paper\/5071-translating-embeddings-for-modeling","-multi-relational-data",">","`","_","paper",",","containing","40,943","entities",",","18","relations","and","151,442","fact","triplets",",","*","e.g",".","*",",","furniture","includes","bed",".","..","note",":",":","The","original",":","obj",":","`","WordNet18","`","dataset","suffers","from","test","leakage",",","*","i.e",".","*","more","than","80","%","of","test","triplets","can","be","found","in","the","training","set","with","another","relation","type",".","Therefore",",","it","should","not","be","used","for","research","evaluation","anymore",".","We","recommend","to","use","its","cleaned","version",":","class",":","`","~torch_geometric.datasets.WordNet18RR","`","instead",".","Args",":","root","(","str",")",":","Root","directory","where","the","dataset","should","be","saved",".","transform","(","callable",",","optional",")",":","A","function\/transform","that","takes","in","an",":","obj",":","`","torch_geometric.data.Data","`","object","and","returns","a","transformed","version",".","The","data","object","will","be","transformed","before","every","access",".","(","default",":",":","obj",":","`","None","`",")","pre_transform","(","callable",",","optional",")",":","A","function\/transform","that","takes","in","an",":","obj",":","`","torch_geometric.data.Data","`","object","and","returns","a","transformed","version",".","The","data","object","will","be","transformed","before","being","saved","to","disk",".","(","default",":",":","obj",":","`","None","`",")","force_reload","(","bool",",","optional",")",":","Whether","to","re-process","the","dataset",".","(","default",":",":","obj",":","`","False","`",")"]
code: def download(self) -> None:
      for filename in self.raw_file_names:
          download_url(f"{self.url}/{filename}", self.raw_dir)
  
file_path: pytorch_geometric/torch_geometric/datasets/word_net.py
imports: from itertools import chain
  from typing import Callable, List, Optional
  import torch
  from torch_geometric.data import Data, InMemoryDataset, download_url
  from torch_geometric.utils import index_sort
label_desc: Use image node_id 4 for calling the WordNet18 obj's underlying member method code with example usage: obj.download() without return types