code: def convert_to_BLINK_format(questions):
      data = []
      for q in questions:
          datapoint = {
              "context_left": " ".join(q["left_context"]).strip(),
              "mention": q["mention"],
              "context_right": " ".join(q["right_context"]).strip(),
              "query_id": q["id"],
              "label_id": q["Wikipedia_ID"],
              "Wikipedia_ID": q["Wikipedia_ID"],
              "Wikipedia_URL": q["Wikipedia_URL"],
              "Wikipedia_title": q["Wikipedia_title"],
          }
          data.append(datapoint)
      return data
  
file_path: BLINK/scripts/create_BLINK_benchmark_data.py
imports: import json
  import os
  import requests
  from bs4 import BeautifulSoup
  from tqdm import tqdm
label_desc: Use image node_id 5 for calling a global function with example usage: convert_to_BLINK_format(questions) and returns: data