persistence = new KiWiPersistence("test",jdbcUrl,jdbcUser,jdbcPass,dialect);
persistence.initDatabase();
store = new KiWiStore("test",jdbcUrl,jdbcUser,jdbcPass,dialect, "http://localhost/context/default", "http://localhost/context/inferred");
tsail = new KiWiTransactionalSail(store);
repository = new SailRepository(tsail);
repository.initialize();
rpersistence = new KiWiReasoningPersistence(persistence, repository.getValueFactory());
rpersistence.initDatabase();