Build SemanticQuery in CypherCompiler instead of Planner