DataSource aSource = (DataSource) theManager.getDelegate();
start = System.currentTimeMillis();
if (aSource.getQueryFactory().getDialect() instanceof SPARQLDialect) {
aQueryStr = new SPARQLQueryRenderer().render(aQuery.query());
}
else if (aSource.getQueryFactory().getDialect() instanceof SerqlDialect) {
aQueryStr = new SeRQLQueryRenderer().render(aQuery.query());
}