Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Adam Kučera
semanticBMS
Commits
6813e71f
Commit
6813e71f
authored
Jan 26, 2017
by
akucera
Browse files
performance issues (hopefully) fixed by changing the ontology model type
parent
0fdfebef
Changes
1
Hide whitespace changes
Inline
Side-by-side
SemanticBMSServer/src/main/java/cz/muni/fi/lasaris/sbms/model/TdbConnector.java
View file @
6813e71f
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment