Skip to content

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

Open

Description

@greenguy33

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.

Activity

  1. CronosC commented on Apr 5, 2024

    @CronosC

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

  2. greenguy33 commented on Apr 8, 2024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions