query nodes by date and location