DatasetControl policy = new DatasetControlMRSW() ;
@SuppressWarnings("deprecation")
NodeTable nodeTable = NodeTableFactory.create(indexBuilder, location) ;
TripleTable triples = createTripleTable(indexBuilder, nodeTable, location, graphIndexDesc, policy) ;
QuadTable quads = createQuadTable(indexBuilder, nodeTable, location, quadIndexDesc, policy) ;
@SuppressWarnings("deprecation")
DatasetPrefixesTDB prefixes = DatasetPrefixesTDB.create(indexBuilder, location, policy) ;
return new DatasetGraphTDB(triples, quads, prefixes, chooseOptimizer(location), null) ;
}