code: def load_entity_data(file=None):
      if file is None:
          return None
  
      entity = []
      with open(file, "r") as f:
          id = f.readline()
          while len(id) > 0:
              entity.append(int(id))
              id = f.readline()
      entity = np.asarray(entity)
      return entity
  
file_path: ogb/examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/utils.py
imports: import math
  import os
  import csv
  import argparse
  import json
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: load_entity_data(file) and returns: entity, None