python -m wikidata.build_indices.build_elastic_search_entity_index
python -m wikidata.build_indices.build_elastic_search_wikipedia_index
python -m wikidata.build_indices.build_elastic_search_wikipedia_chunk_index
python -m wikidata.build_indices.build_elastic_search_wikititle_to_entity_id_index
Follow config_path.py and download the datasets and change the paths accordingly.