Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated Jena method setTimeout called in org.dllearner.reasoning.SPARQLReasoner.executeSelectQuery #111

Open
greenguy33 opened this issue Jul 25, 2023 · 2 comments

Comments

@greenguy33
Copy link

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
Copy link

CronosC commented Apr 5, 2024

I have just run into the same issue. Did you/anyone find some way around it?

@greenguy33
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants