code: def _main():
      """Test unleaking FB15K.
  
      Run with ``python -m pykeen.triples.leakage``.
      """
      from pykeen.datasets import get_dataset
  
      logging.basicConfig(
          format="pykeen: %(message)s", level=logging.INFO
      )
  
      fb15k = get_dataset(dataset="fb15k")
      click.echo(fb15k.summary_str())
  
      n = 401  # magic 401 from the paper
      train, test, validate = unleak(
          fb15k.training, fb15k.testing, fb15k.validation, n=n
      )
      click.echo("")
      click.echo(
          EagerDataset(train, test, validate).summary_str(
              title="FB15k (cleaned)"
          )
      )
  
      fb15k237 = get_dataset(dataset="fb15k237")
      click.echo("\nSummary FB15K-237")
      click.echo(fb15k237.summary_str())
  
imports: import logging
  from typing import Collection, Iterable, List, Mapping, Optional, Set, Tuple, TypeVar, Union, cast
  import click
  import numpy
  import scipy.sparse
  import torch
  from pykeen.datasets.base import EagerDataset
  from pykeen.triples.triples_factory import CoreTriplesFactory, TriplesFactory, cat_triples
  from pykeen.typing import MappedTriples
  from pykeen.utils import compact_mapping, get_connected_components
label_desc: Use image node_id 11 for calling a global function with example usage: _main() without return types