Thank you again for the suggestions. I have been using Opellet so far, but 
really wanted to try to see what HermitT will do better for more expressive 
ontologies. It seems that I will stay with it for now.
Thank you so much again!

Neli P. Zlatareva, PhD
Professor of Computer Science
Department of Computer Science
Central Connecticut State University
New Britain, CT 06050
Phone: (860) 832-2723
Fax: (860) 832-2712
Web site: cs.ccsu.edu/~neli/
________________________________
From: Sergei Zuev <[email protected]>
Sent: Friday, September 13, 2024 12:32 PM
To: [email protected] <[email protected]>
Subject: Re: Integration of HermitT in Jena

EXTERNAL EMAIL: This email originated from outside of the organization. Do not 
click any links or open any attachments unless you trust the sender and know 
the content is safe.

I see two options:
1) openllet 
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGaligator%2Fopenllet&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351051806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=xfvhIPE5pewzkTsw%2F%2BEH%2BfOYJ9ULSvT3ZiwYCMHmwYs%3D&reserved=0<https://github.com/Galigator/openllet>
2) ontapi 
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fowlcs%2Font-api&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351074417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=zmlreaB1kSgo6yuPwIuYZWalnYhS5b3dV5TE2cz5mUQ%3D&reserved=0<https://github.com/owlcs/ont-api>

On 2024/09/13 15:53:56 "Zlatareva, Neli (Computer Science)" wrote:
> Thank you so much for the suggestions. Is there a way to integrate HermitT 
> with Jena without using OWLAPI similar to integrating Pellet? Unfortunately, 
> Pellet is not supported anymore and works only with old Jena versions.
> Thank you!
>
> Neli P. Zlatareva, PhD
> Professor of Computer Science
> Department of Computer Science
> Central Connecticut State University
> New Britain, CT 06050
> Phone: (860) 832-2723
> Fax: (860) 832-2712
> Web site: cs.ccsu.edu/~neli/
> ________________________________
> From: ssz <[email protected]>
> Sent: Friday, September 13, 2024 10:27 AM
> To: [email protected] <[email protected]>
> Subject: Re: Integration of HermitT in Jena
>
> [You don't often get email from [email protected]. Learn why this is 
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> EXTERNAL EMAIL: This email originated from outside of the organization. Do 
> not click any links or open any attachments unless you trust the sender and 
> know the content is safe.
>
> Hi
>
> There are several issues
> 1) judging by the stack trace, the code you are using is not Jena, but
> OWLAPI, so the issue does not apply to Jena, wrong addressing. You can try
> to ask in 
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fowlcs%2Fowlapi&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351086221%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=5vPe5Iyuu34rPMkURI3IujRQk8bVfd7RXcc3Vtc1%2Fxg%3D&reserved=0<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fowlcs%2Fowlapi&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351091649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=GogWwB1raWQmbWeSZj2z591aR6t0vo3xoiC0zGm%2B9DQ%3D&reserved=0><https://github.com/owlcs/owlapi>,
>  or in SO, or maybe here
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fowlcs%2Fhermit-reasoner&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351096542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2F74GHXAAw0hGpoe3c6fpU%2FcgOBsR5LRDvfvLkakcHdg%3D&reserved=0<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fowlcs%2Fhermit-reasoner&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351101349%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=19gZ9LVRppstVHxhih8hUr9xY8kFMrif6FnCgFxwRas%3D&reserved=0><https://github.com/owlcs/hermit-reasoner>
>  (if you are using this version of
> Hermit). I think the best choice is SO 
> (https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2F&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351106369%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Dwg7SPFSGQU1xm%2B7sH4tzGVevdmU7Cqovg%2FS6k55nSo%3D&reserved=0<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2F&data=05%7C02%7CZlatareva%40ccsu.edu%7C4f68295d85f54bf8b60008dcd4119e7e%7C2329c570b5804223803b427d800e81b6%7C0%7C0%7C638618419351111379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=oUJgM6keyD12%2FqVG8fGPFfzetkpKHWhGcTs0yEtM6gk%3D&reserved=0<https://stackoverflow.com/>>).
> 2) the error indicates that the problem is with dependencies, i.e. does not
> directly apply to OWLAPI or Jena
> 3) ancient version of OWLAPI (probably because of ancient Hermit)
> 4) if you really want to use OWLAPI-based Hermit together with Jena, you
> can look at owlcs/ONTAPI.
>
> On Fri, Sep 13, 2024 at 4:48 PM Zlatareva, Neli (Computer Science)
> <[email protected]> wrote:
>
> > Hi there, I am wondering if anybody was successful integrating HermitT in
> > Jena. I tried everything I was able to find, including ChatGPT
> > recommendations 🙂, but nothing helped me overcome the following error
> > after correctly creating and loading the ontology
> >
> > Exception in thread "main" java.lang.NoSuchMethodError:
> > 'com.google.common.base.Optional
> > org.semanticweb.owlapi.model.OWLOntologyID.getDefaultDocumentIRI()'
> > at
> > org.semanticweb.HermiT.structural.OWLClausification.preprocessAndClausify(OWLClausification.java:147)
> > at org.semanticweb.HermiT.Reasoner.loadOntology(Reasoner.java:211)
> > at org.semanticweb.HermiT.Reasoner.<init>(Reasoner.java:202)
> > at org.semanticweb.HermiT.Reasoner.<init>(Reasoner.java:176)
> > at
> > org.semanticweb.HermiT.ReasonerFactory.createHermiTOWLReasoner(ReasonerFactory.java:51)
> > at
> > org.semanticweb.HermiT.ReasonerFactory.createReasoner(ReasonerFactory.java:19)
> > at
> > org.semanticweb.HermiT.ReasonerFactory.createReasoner(ReasonerFactory.java:15)
> > at HermitExample.main(HermitExample.java:44)
> >
> > Any help will be greatly appreciated.
> > Thank you so much.
> > Regards, Neli.
> >
> > Neli P. Zlatareva, PhD
> > Professor of Computer Science
> > Department of Computer Science
> > Central Connecticut State University
> > New Britain, CT 06050
> > Phone: (860) 832-2723
> > Fax: (860) 832-2712
> > Web site: cs.ccsu.edu/~neli/
> >
>

Reply via email to