code: def build(opt):
      dpath = os.path.join(opt["datapath"], "wikipedia")
      task = opt.get("task", "wikipedia:all")
      extract_full = task.split(":")[-1] == "all"
      if extract_full:
          dpath = os.path.join(dpath, "full")
      else:
          dpath = os.path.join(dpath, "summary")
      if not build_data.built(dpath):
          print("[building data: " + dpath + "]")
          build_data.make_dir(dpath)
          if extract_full:
              RESOURCES[0].download_file(dpath)
          else:
              RESOURCES[1].download_file(dpath)
          build_data.mark_done(dpath)
  
label_desc: Use image node_id 1 for calling a global function with example usage: build(opt) without return types