You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This API is broken when using with Protege 5.6.1 which happens when using the SPARQL query tab because the OWL API version has been bumped
Protege: 4.5.25
this lib: 4.5.15
leads to
java.lang.NoSuchMethodError: 'void org.semanticweb.owlapi.rdf.model.AbstractTranslator.<init>(org.semanticweb.owlapi.model.OWLOntologyManager, org.semanticweb.owlapi.model.OWLOntology, boolean, org.semanticweb.owlapi.util.IndividualAppearance, org.semanticweb.owlapi.util.AxiomAppearance, java.util.concurrent.atomic.AtomicInteger, java.util.Map)'
at org.protege.owl.rdf.impl.RDFTranslator.<init>(RDFTranslator.java:107) ~[na:na]
at org.protege.owl.rdf.impl.RDFTranslator.translate(RDFTranslator.java:55) ~[na:na]
at org.protege.owl.rdf.impl.OwlTripleStoreImpl.addAxiom(OwlTripleStoreImpl.java:99) ~[na:na]
at org.protege.owl.rdf.Utilities.loadOwlTripleStore(Utilities.java:48) ~[na:na]
at org.protege.owl.rdf.Utilities.getOwlTripleStore(Utilities.java:32) ~[na:na]
at org.protege.editor.owl.rdf.repository.BasicSparqlReasoner.precalculate(BasicSparqlReasoner.java:54) ~[na:na]
at org.protege.editor.owl.rdf.SparqlQueryView.initializeReasoner(SparqlQueryView.java:34) ~[na:na]
at org.protege.editor.owl.rdf.SparqlQueryView.initialiseOWLView(SparqlQueryView.java:24) ~[na:na]
at org.protege.editor.owl.ui.view.AbstractOWLViewComponent.initialise(AbstractOWLViewComponent.java:43) ~[na:na]
at org.protege.editor.core.ui.view.View.createContent(View.java:413) ~[na:na]
at org.protege.editor.core.ui.view.View.createUI(View.java:220) ~[na:na]
at org.protege.editor.core.ui.view.View$1.hierarchyChanged(View.java:124) ~[na:na]
This is in fact already fixed in the master branch (6c2e962), so all that needs to happen is a 3.0.1 release of rdf-library that Protégé could then use. Any chance of that happening?
This API is broken when using with Protege 5.6.1 which happens when using the SPARQL query tab because the OWL API version has been bumped
Protege: 4.5.25
this lib: 4.5.15
leads to
Basically, the constructor of
org.semanticweb.owlapi.rdf.model.AbstractTranslator
has been changed, see https://github.com/owlcs/owlapi/blob/owlapi-parent-4.5.24/parsers/src/main/java/org/semanticweb/owlapi/rdf/model/AbstractTranslator.java#L289-L303It also needs the
OWLDocumentFormat
now as an argument which has to be addressed inorg.protege.owl.rdf.impl.RDFTranslator
The text was updated successfully, but these errors were encountered: