def extract_wikipedia_page(line):
    """Extracts the Wikipedia page for an entity"""
    if "sitelinks" in line and "enwiki" in line["sitelinks"]:
        return line["sitelinks"]["enwiki"]["title"].strip().replace(" ", "_")
    return None