      print()
      print("1. _read_wikidata_entities", datetime.datetime.now())
      print()
      # title_to_id = _read_wikidata_entities_regex(limit=1000)
      title_to_id = _read_wikidata_entities_json(limit=1000)
  
      title_list = list(title_to_id.keys())
      entity_list = [title_to_id[x] for x in title_list]
  
      print()
 
</s> remove             if cnt % 100000 == 0:
 </s> add             if cnt % 500000 == 0: </s> remove             if cnt % 100000 == 0:
 </s> add             if cnt % 500000 == 0:
    title_to_id = _read_wikidata_entities_json(limit=None)
      print()
      print("1. _read_wikidata_entities", datetime.datetime.now())
      print()
      # title_to_id = _read_wikidata_entities_regex(limit=1000)
    title_to_id = _read_wikidata_entities_json(limit=None)
  
      title_list = list(title_to_id.keys())
      entity_list = [title_to_id[x] for x in title_list]
  
      print()
keep keep keep keep replace keep keep keep keep keep
 reading all persons in wikidata 
examples/pipeline/wikidata_entity_linking.py