private void createThesaurusRepository(Thesaurus gst) throws Exception {
LocalRepository thesaurusRepository;
try {
RepositoryConfig repConfig = new RepositoryConfig(gst.getKey());
SailConfig syncSail = new SailConfig("org.openrdf.sesame.sailimpl.sync.SyncRdfSchemaRepository");
SailConfig memSail = new org.openrdf.sesame.sailimpl.memory.RdfSchemaRepositoryConfig(
gst.getFile().getAbsolutePath(), RDFFormat.RDFXML);
repConfig.addSail(syncSail);
repConfig.addSail(memSail);
repConfig.setWorldReadable(true);
repConfig.setWorldWriteable(true);