ClientConfiguration config = new ClientConfiguration();
backend = new LDCachingFileBackend(dataDirectory);
sail = new GenericLinkedDataSail(new MemoryStore(),backend, cacheFilter, config);
Repository repository = new SailRepository(sail);
repository.initialize();
setRepository(repository);
} catch (RepositoryException e) {
log.error("error initialising connection to Sesame in-memory repository",e);
}