class_docstr: The OpenEA dataset family.
  
  ---
  name: OpenEA Family
  citation:
      author: Sun
      year: 2020
      link: http://www.vldb.org/pvldb/vol13/p2326-sun.pdf
  single: true
  statistics:
      entities: 15000
      relations: 248
      triples: 38265
      training: 30612
      testing: 3826
      validation: 3827
class_docstr_tok: ["The","OpenEA","dataset","family",".","--","-","name",":","OpenEA","Family","citation",":","author",":","Sun","year",":","2020","link",":","http",":","\/\/www.vldb.org\/pvldb\/vol13\/p2326-sun.pdf","single",":","true","statistics",":","entities",":","15000","relations",":","248","triples",":","38265","training",":","30612","testing",":","3826","validation",":","3827"]
code: def _load_graph(self, side: EASide) -> TriplesFactory:  # noqa: D102
      # left side has files ending with 1, right side with 2
      one_or_two = "1" if side == EA_SIDE_LEFT else "2"
      file_name = f"rel_triples_{one_or_two}"
      return TriplesFactory.from_labeled_triples(
          triples=read_zipfile_csv(
              path=self.zip_path,
              inner_path=str(self.inner_path.joinpath(file_name)),
              header=None,
              names=COLUMN_LABELS,
              sep="\t",
              encoding="utf8",
              dtype=str,
          ).values,
          metadata={"path": self.zip_path},
      )
  
file_path: pykeen/src/pykeen/datasets/ea/openea.py
imports: import itertools
  import logging
  import pathlib
  from typing import Literal, Tuple
  import click
  import pandas
  from docdata import parse_docdata
  from more_click import verbose_option
  from pystow.utils import read_zipfile_csv
  from .base import EADataset
  from ...constants import COLUMN_LABELS, PYKEEN_DATASETS_MODULE
  from ...triples import TriplesFactory
  from ...typing import EA_SIDE_LEFT, EA_SIDES, EASide
label_desc: Use image node_id 2 for calling the OpenEA obj's underlying member method code with example usage: obj._load_graph(side) and returns: TriplesFactory