import requests


def query_overpass_api(query):
    """Query overpass api.

    Args:
        query (str): Query to be send to overpass api.

    Returns:
        dict: Response of the query.
    """
    overpass_url = "http://overpass-api.de/api/interpreter"
    response = requests.get(overpass_url, 
                        params={'data': query})
    data = response.json()
    return data