-
Notifications
You must be signed in to change notification settings - Fork 13
Take too much time to create SQWRL Query Engine #6
Copy link
Copy link
Open
Description
Hi friends,
I have a problem with creating query engine object. It takes too much time to generate an object of query engine (around 1 minute). My code is below:
....
String path = "C:/Ontology/Test/Heart.owl";
try {
// Create OWLOntology instances using the OWLAPI
ontologyManager = OWLManager.createOWLOntologyManager();
File file = new File(path);
ontology = ontologyManager.loadOntologyFromOntologyDocument(file);
queryEngine = SWRLAPIFactory.createSQWRLQueryEngine(ontology);
} catch (OWLOntologyCreationException e) {
e.printStackTrace();
}
It take more than one minute to execute the code: queryEngine = SWRLAPIFactory.createSQWRLQueryEngine(ontology);
Are there any solutions to make it run faster?
Thank you,
Van
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels