Added observation query function to map