added: analyze training queries