throws StoreException, StoreConfigException
{
RepositoryManager manager = server.getRepositoryManager();
// create a (non-inferencing) memory store
MemoryStoreConfig memStoreConfig = new MemoryStoreConfig();
SailRepositoryConfig sailRepConfig = new SailRepositoryConfig(memStoreConfig);
RepositoryConfig repConfig = new RepositoryConfig(TEST_REPO_ID, sailRepConfig);
manager.addRepositoryConfig(TEST_REPO_ID, repConfig.export());
// create an inferencing memory store
ForwardChainingRDFSInferencerConfig inferMemStoreConfig = new ForwardChainingRDFSInferencerConfig(
new MemoryStoreConfig());
sailRepConfig = new SailRepositoryConfig(inferMemStoreConfig);
repConfig = new RepositoryConfig(TEST_INFERENCE_REPO_ID, sailRepConfig);
manager.addRepositoryConfig(TEST_INFERENCE_REPO_ID, repConfig.export());
}