protegeproject / sparql-query-plugin

Protege Desktop plug-in that provides support for writing and executing SPARQL queries.
12 stars 11 forks source link

Opening the tab initially takes some time #5

Open johardi opened 8 years ago

johardi commented 8 years ago

While actually the plugin is doing something (i.e., running its own reasoner), you can't do anything in Protege (e.g., clicking other tabs or selecting entities). Users might think Protege hangs / got frozen.

rsgoncalves commented 8 years ago

The delay is due to the call to reasoner.precalculate(), in the initializeReasoner() method of SparqlQueryView.

rsgoncalves commented 8 years ago

The problem still occurs but is not nearly as severe: The translation time was reduced by roughly 96% in the fix https://github.com/protegeproject/rdf-library/issues/2 (in a test ontology with 7,227 axioms the translation time is about 3.4s as opposed to 92.3s).