added QueryEngine method to getQueryValues()