class_docstr: Load from the Open Graph Benchmark (OGB).
class_docstr_tok: ["Load","from","the","Open","Graph","Benchmark","(","OGB",")","."]
docstr: Load the OGB dataset (lazily).
  
  Also handles error message if OGB package is not yet installed.
  
  :return:
      the OGB dataset instance.
  
  :raises ModuleNotFoundError:
      if the OGB package is not installed
docstr_tok: ["Load","the","OGB","dataset","(","lazily",")",".","Also","handles","error","message","if","OGB","package","is","not","yet","installed",".",":","return",":","the","OGB","dataset","instance",".",":","raises","ModuleNotFoundError",":","if","the","OGB","package","is","not","installed"]
code: def _load_ogb_dataset(self) -> "LinkPropPredDataset":
      """
      Load the OGB dataset (lazily).
  
      Also handles error message if OGB package is not yet installed.
  
      :return:
          the OGB dataset instance.
  
      :raises ModuleNotFoundError:
          if the OGB package is not installed
      """
      try:
          from ogb.linkproppred import LinkPropPredDataset
      except ImportError as e:
          raise ModuleNotFoundError(
              f"Need to `pip install ogb` to use pykeen.datasets.{self.__class__.__name__}.",
          ) from e
      return LinkPropPredDataset(name=self.name, root=self.cache_root)
  
imports: from __future__ import annotations
  import abc
  import logging
  import pathlib
  import typing
  from typing import ClassVar, Generic, Literal, Optional, Sequence, TypedDict, TypeVar, Union, cast, overload
  import click
  import numpy
  import pandas
  import torch
  from docdata import parse_docdata
  from more_click import verbose_option
  from .base import LazyDataset
  from ..triples import TriplesFactory
  from ..typing import EntityMapping, RelationMapping
label_desc: Use image node_id 4 for calling the OGBLoader obj's underlying member method code with example usage: obj._load_ogb_dataset() and returns: LinkPropPredDataset