Extracted projection from QueryGraph into it's own class