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
{{ message }}
Repository navigation
Deprecated Jena method setTimeout called in org.dllearner.reasoning.SPARQLReasoner.executeSelectQuery #111
At line 2627 of org.dllearner.reasoning.SPARQLReasoner.executeSelectQuery, the deprecated Jena method qe.setTimeout(timeout, timeoutUnits) is called.
As seen in the Jena code here, this method is deprecated. This leads to an java.lang.UnsupportedOperationException: Not Implemented. error thrown by the Jena code.
This error is preventing the SPARQLReasoner class from being able to launch queries against a remote endpoint.
@CronosC, no I just didn't use dl-learner. The axioms I was trying to apply were simple enough that it was trivial to write my own code. However, if you're able to build the Maven project, the fix should be simply to remove the setTimeout line.
Activity
CronosC commentedon Apr 5, 2024
I have just run into the same issue. Did you/anyone find some way around it?
greenguy33 commentedon Apr 8, 2024
@CronosC, no I just didn't use dl-learner. The axioms I was trying to apply were simple enough that it was trivial to write my own code. However, if you're able to build the Maven project, the fix should be simply to remove the setTimeout line.