added query.py to query ESGF