code: def get_candidate_data_for_wikidata_id(self, wikidata_id):
      results = self.solr.search(
          "wikidata_id:{}".format(wikidata_id), **self.query_arguments
      )
  
      if len(results) == 0:
          return None
  
      filtered_results = [
          Pregenerated_Candidates_Data_Fetcher.filter_result(cand)
          for cand in results.docs
          if "wikidata_id" in cand
      ]
  
      return filtered_results[0]
  
file_path: BLINK/blink/candidate_retrieval/candidate_generators.py
imports: import pysolr
  import sys
  import utils
label_desc: Use image node_id 4 for calling the Pregenerated_Candidates_Data_Fetcher obj's underlying member method code with example usage: obj.get_candidate_data_for_wikidata_id(wikidata_id) and returns: filtered_results, None