DL-Learner
DL-Learner copied to clipboard
Deprecated Jena method setTimeout called in org.dllearner.reasoning.SPARQLReasoner.executeSelectQuery
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.
I have just run into the same issue. Did you/anyone find some way around it?
@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.