public class ExampleLARQ_01 {
public static void main(String[] args) throws CorruptIndexException, IOException {
FileManager fm = FileManager.get();
fm.addLocatorClassLoader(ExampleTDB_01.class.getClassLoader());
InputStream in = fm.open("data/data.nt");
Location location = new Location ("tmp/TDB");
// build the Lucene index when pointed to a non existing directory
DatasetGraphTDB dsg = (DatasetGraphTDB)TDBFactory.createDatasetGraph(location);