code: def get_labels(self, show=False, proxy=None, timeout=0):
          
          if 'entities' not in self.data:
              utils.stderr("No entities found.")
              return
  
          skip_flag = False
          if 'skip' in self.flags and 'labels' in self.flags['skip']:
              skip_flag = True
  
          while 'entities' in self.data and self.data['entities']:
              if skip_flag:
                  break
              self._get('labels', show, proxy, timeout)
  
          if 'entities' in self.data:
              del self.data['entities']
  
          self._post_labels_updates()
  
          return self
docs: GET Wikidata:API (action=wbgetentities) for claims labels
          https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities
  
          Required {data}: entities, claims
              data['claims']: {'P17': ['Q17'], 'P910': ['Q8854938'], ...}
              data['entities']: ['P17', 'Q17', 'P910', 'Q8854938', ...]
  
          Data captured:
              labels: {'P17': 'country', 'Q17': 'Japan', ...}
              wikidata: {'country (P17)': 'Japan (Q17)', ...}
  
          Use get_wikidata() to populate data['entities']