def _fix_endpoint(endpoint: str) -> str:
    """
    Remove all text before "http".
    Workaround because the endpoint is automatically prefixed with the data folder. However this does not make sense for
    a sparql endpoint.

    :param endpoint:
    :return:
    """
    idx = endpoint.find('http')
    return endpoint[idx:]