def get_ontology_prefix(ontology_term: str) -> str:
    """Returns the ontology prefix for an ontology term

    Example: For EFO:0002939, it would return efo
    """
    return ontology_term.split(":")[0].lower()