public void testKReSLoadRuleFile() throws OWLOntologyStorageException {
Dictionary<String,Object> configuration = new Hashtable<String,Object>();
Dictionary<String,Object> configuration2 = new Hashtable<String,Object>();
// configuration2.put(RuleStoreImpl.RULE_ONTOLOGY, "");
configuration2.put(RuleStore.RULE_NAMESPACE, "http://kres.iks-project.eu/ontology/meta/rmi.owl#");
RuleStore store = new RuleStoreImpl(configuration2,
"./src/main/resources/RuleOntology/TestKReSOntologyRules.owl");
RuleStore newstore = new RuleStoreImpl(configuration2, store.getOntology());
// Load the example file
LoadRuleFile load = new LoadRuleFile("./src/main/resources/RuleOntology/TestRuleFileExample.txt",
store);
OWLOntology result = load.getStore().getOntology();
// //////////////////////////////////////////////////////////////////
// Create ontology
OWLOntologyManager owlmanager = OWLManager.createOWLOntologyManager();
OWLOntology owlmodel = newstore.getOntology();
OWLDataFactory factory = owlmanager.getOWLDataFactory();
String ID = owlmodel.getOntologyID().toString().replace("<", "").replace(">", "") + "#";
log.debug(ID);