public class TDBMerge {
public static void main(String[] args) {
Location location1 = new Location("target/out-01") ;
DatasetGraphTransaction dsg1 = (DatasetGraphTransaction)TDBFactory.createDatasetGraph(location1) ;
TDBLoader.load(dsg1.getBaseDatasetGraph(), "src/test/resources/input/data.nq") ;
dsg1.close() ;
Location location2 = new Location("target/out-02") ;
DatasetGraphTransaction dsg2 = (DatasetGraphTransaction)TDBFactory.createDatasetGraph(location2) ;
TDBLoader.load(dsg2.getBaseDatasetGraph(), "src/test/resources/input/data.nt") ;
dsg2.close() ;
// RecordFactory tripleRecordFactory = new RecordFactory(SystemTDB.LenIndexTripleRecord, 0) ;
// RecordFactory quadRecordFactory = new RecordFactory(SystemTDB.LenIndexQuadRecord, 0) ;
RecordFactory nodeTableRecordFactory = new RecordFactory(SystemTDB.LenNodeHash, SystemTDB.SizeOfNodeId) ;