WK3l120k

class WK3l120k(graph_pair='en_de', **kwargs)[source]

Bases: pykeen.datasets.ea.wk3l.MTransEDataset

The WK3l-120k dataset family.

Note

This dataset contains artifacts from incorrectly treating literals as entities.

Initialize the dataset.

Parameters
  • graph_pair (Literal[‘en_de’, ‘en_fr’]) – the graph-pair within the dataset family (cf. GRAPH_PAIRS)

  • kwargs – additional keyword-based parameters passed to EABase.__init__()

Raises

ValueError – if the graph pair or side is invalid

Attributes Summary

DATASET_NAME

The internal dataset name

FILE_NAMES

The mapping from (graph-pair, side) to triple file name

Attributes Documentation

DATASET_NAME: ClassVar[str] = 'WK3l-120k'

The internal dataset name

FILE_NAMES: ClassVar[Mapping[Tuple[Literal['en_de', 'en_fr'], Union[None, Literal['left', 'right'], Tuple[Literal['left', 'right'], Literal['left', 'right']]]], str]] = {('en_de', 'left'): 'P_en_v6_120k.csv', ('en_de', 'right'): 'P_de_v6_120k.csv', ('en_de', ('left', 'right')): 'en2de_fk_120k.csv', ('en_de', ('right', 'left')): 'de2en_fk_120k.csv', ('en_de', None): 'P_en_de_v6_120k.csv', ('en_fr', 'left'): 'P_en_v5_120k.csv', ('en_fr', 'right'): 'P_fr_v5_120k.csv', ('en_fr', ('left', 'right')): 'en2fr_fk_120k.csv', ('en_fr', ('right', 'left')): 'fr2en_fk_120k.csv', ('en_fr', None): 'P_en_fr_v5_120k.csv'}

The mapping from (graph-pair, side) to triple file name