Renamed PatternQuery to QueryParticle.