try {
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) {