also output the normalized query in semantic validator if necessary