Foursquare query and input nodes