code: def download_text2sparql(infold: str):
      """Downloads text2sparql train, test_easy, and test_hard data
  
      Args:
          infold: save directory path
      """
      os.makedirs(infold, exist_ok=True)
  
      for prefix in prefix_map:
          url = base_url + prefix
  
          logging.info(f"Downloading: {url}")
          if if_exist(infold, [prefix]):
              logging.info(
                  "** Download file already exists, skipping download"
              )
          else:
              req = Request(url, headers={"User-Agent": "Mozilla/5.0"})
              with open(os.path.join(infold, prefix), "wb") as handle:
                  handle.write(urlopen(req, timeout=20).read())
  
imports: import argparse
  import csv
  import os
  from urllib.request import Request, urlopen
  from nemo.collections.nlp.data.data_utils.data_preprocessing import MODE_EXISTS_TMP, if_exist
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: download_text2sparql(infold) without return types