Giter VIP home page Giter VIP logo

Comments (5)

ignazio1977 avatar ignazio1977 commented on July 18, 2024

Looks like you have two owlapi versions in the classpath. The HermiT jar looks like the original HermiT release, which would have included an ancient owlapi version. That's the most likely candidate.

from owlapi.

alkidbaci avatar alkidbaci commented on July 18, 2024

Yes it seems like this is definitely related with the dependencies. I removed HermiT.jar from the classpath list but I'm getting other errors related with missing dependencies. I'm not very familiar with java stuff. Would really appreciate if you have some reference to some python code that uses owlapi via jpype (preferably using the hermit reasoner also) or some other guide to use owlapi from python. If there is no such reference that you are aware of, then please consider this issue closed. Thank you.

from owlapi.

ignazio1977 avatar ignazio1977 commented on July 18, 2024

I'm not knowledgeable on how jpipe works, but basically you'd need the imports closure for HermiT, i.e., the list of jars that make up hermit, their dependencies and the dependencies of the dependencies.

Hermit and owlapi are maven projects so seeing the full closure is relatively simple in a java context. Less so in python I guess.

I'll see if I can find a list.

from owlapi.

ignazio1977 avatar ignazio1977 commented on July 18, 2024

https://github.com/owlcs/releases/tree/master/HermiT

The releases project contains single jars for HermiT and OWLAPI. The HermiT jar here is the latest snapshot available, and should contain OWLAPI 5.1.9 and all dependencies needed. See if, by itself, this jar is suffcient for jpipe.

If not, the missing dependencies are likely in

/https://github.com/owlcs/releases/blob/master/owlapi/5/owlapi-dependencypack-5.1.9.jar

which contains the whole of owlapi 5 and its dependencies.

jpipe might have difficulties accessing jars within jars, in which case you can rename the files to zip files (jar files are zip files with an extra folder in there) and open them with any zip utility, to extract all the jars contained within and add them manually to your classpath.

from owlapi.

alkidbaci avatar alkidbaci commented on July 18, 2024

Thank you very much, this was really helpful. I finally made it work.

from owlapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.