trans.setTemporaryTableFactory(tables);
trans.setStatementsTable(tripleTableManager);
trans.setFromDummyTable(getFromDummyTable());
trans.initialize();
s.setTransaction(trans);
QueryBuilderFactory bfactory = createQueryBuilderFactory();
bfactory.setValueFactory(vf);
bfactory.setUsingHashTable(hashManager != null);
s.setQueryBuilderFactory(bfactory);
RdbmsConnection conn = new RdbmsConnection(sail, s);
conn.setNamespaces(namespaces);
RdbmsEvaluationFactory efactory = new RdbmsEvaluationFactory();
efactory.setQueryBuilderFactory(bfactory);