code: def main(_) -> None:
      logging.info("Load WikiData relational edges.")
      with gfile.Open(data_util.WIKIDATA_EDGE_PATH) as f:
          rel_list = json.load(f)
      logging.info("Construct KG Graph from edge list.")
      kg_graph = data_util.construct_kg_graph(rel_list)
      logging.info("Extract 2-hop subgraphs within wiki-pages.")
      extract_graph_mp(kg_graph, n_pool=64)
  
file_path: scenic/scenic/projects/knowledge_visual_language/data/wikidata/extract_wikigraph.py
imports: import json
  import multiprocessing
  import os
  from absl import app
  from absl import logging
  from scenic.projects.knowledge_visual_language.data.wikidata import data_util
  import tqdm
  import tensorflow
  from tf.io import gfile
label_desc: Use image node_id 3 for calling a global function with example usage: main(_) without return types