Commit 6813e71f authored by akucera's avatar akucera
Browse files

performance issues (hopefully) fixed by changing the ontology model type

parent 0fdfebef
......@@ -62,8 +62,18 @@ public class TdbConnector {
}
*/
/*
* RDFSReasoner + OntModel s RDFS does not work with certain queries (can't return individuals from other ontologies)
* OWLMicro + OWL_MEM - slow, memory consuming, some queries are not returned due to complexity
*/
//Reasoner r = ReasonerRegistry.getOWLMicroReasoner();
//OntModelSpec oms = new OntModelSpec(OntModelSpec.OWL_MEM_MICRO_RULE_INF);
Reasoner r = ReasonerRegistry.getOWLMicroReasoner();
OntModelSpec oms = new OntModelSpec(OntModelSpec.OWL_MEM_MICRO_RULE_INF);
OntModelSpec oms = new OntModelSpec(OntModelSpec.OWL_LITE_MEM_RDFS_INF);
Model schema = ModelFactory.createOntologyModel(oms);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment