Create the query to retrieve the temporal coverage