for (QueryType qt : queries) {
QueryResults qResults = ssr.getQueryResults(qt.queryName, qt.args);
Iterator<QueryResult> qIter = qResults.iterator();
while (qIter.hasNext()) {
QueryResult qResult = qIter.next();
for (String factName : qt.factNames) {
queryFacts.add(new NamedFact(factName, qResult.get(factName)));
}
}
}
if (queryFacts.size() == 0)