QuerySyntax for optional trailing quotes