Hi Lorenz, Thanks for your reply. I have checked my plugin I used jena 3.16.0. However, since I am using protege file, I prefer to use pellet reasoner which is compatible with protege. Thanks Kind regards Zeinab
> On Sep 21, 2020, at 12:35 PM, Lorenz Buehmann > <buehm...@informatik.uni-leipzig.de> wrote: > > [EXTERNAL EMAIL] > > > Not the error you have now, but you can't use Openllet with Protege > 5.5.0 as it is still based on OWL API v4 while Openllet uses OWL API 5. > > Your error indicates different versions of Apache Jena in the project > path. Openllet main branch depends on Jena 3.15, and I bet that you > added 3.16.0 dependency to your project. So, two options, either you use > Jena 3.15.0 in your plugin, or you checkout the Openllet project, update > the POM file to Jena 3.16.0 and build and install the Openllet Maven project > > On 21.09.20 12:54, Rezaeifar, Zeinab wrote: >> Hi Piotr, >> Thank you so much for your reply. I would like to say that I use protege >> 5.5.0 file. I am wondering that openlett is compatible with protege file >> because when I added openlett to my MVN repository, I have received below >> errors: >> Exception in thread "main" java.lang.NoSuchFieldError: SHACLC >> at org.apache.jena.shacl.compact.SHACLC.init(SHACLC.java:37) >> at org.apache.jena.shacl.sys.InitShacl.start(InitShacl.java:30) >> at org.apache.jena.sys.JenaSystem.lambda$init$2(JenaSystem.java:116) >> at org.apache.jena.sys.JenaSystem$$Lambda$3/1586600255.accept(Unknown Source) >> at java.util.ArrayList.forEach(ArrayList.java:1249) >> at org.apache.jena.sys.JenaSystem.forEach(JenaSystem.java:191) >> at org.apache.jena.sys.JenaSystem.forEach(JenaSystem.java:168) >> at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:114) >> at org.apache.jena.rdf.model.ModelFactory.<clinit>(ModelFactory.java:49) >> at org.apache.jena.ontology.OntModelSpec.<clinit>(OntModelSpec.java:49) >> at ApacheProject.AppacheTest.main(AppacheTest.java:20) >> >> I will be glad to hear from you >> thanks >> Kind regards >> Zeinab >> >> On Sep 21, 2020, at 10:51 AM, Piotr Nowara >> <piotrnow...@gmail.com<mailto:piotrnow...@gmail.com>> wrote: >> >> [EXTERNAL EMAIL] >> >> >> Hi Zeinab, >> >> try this refactored Pellet fork - it worked for me: >> https://github.com/Galigator/openllet >> >> Best, >> Piotr >> >> pon., 21 wrz 2020 o 11:45 Rezaeifar, Zeinab <z.rezaei...@ulster.ac.uk> >> napisał(a): >> >> Hi, >> I am using apache jena 3.16.0 and I would like to use Pellet reasoner as >> well. I found “ >> https://mvnrepository.com/artifact/com.github.ansell.pellet/pellet-core/2.3.6-ansell >> “ However, this repository looks old and when I added it to my java >> library, i received errors. I am wondering that there is a version of the >> pellet reasoner that will be compatible with current apache jena library. >> Thanks >> Kind regards >> Zeinab >> >> >> This email and any attachments are confidential and intended solely for >> the use of the addressee and may contain information which is covered by >> legal, professional or other privilege. If you have received this email in >> error please notify the system manager at postmas...@ulster.ac.uk and >> delete this email immediately. Any views or opinions expressed are solely >> those of the author and do not necessarily represent those of Ulster >> University. >> The University's computer systems may be monitored and communications >> carried out on them may be recorded to secure the effective operation of >> the system and for other lawful purposes. Ulster University does not >> guarantee that this email or any attachments are free from viruses or 100% >> secure. Unless expressly stated in the body of a separate attachment, the >> text of email is not intended to form a binding contract. Correspondence to >> and from the University may be subject to requests for disclosure by 3rd >> parties under relevant legislation. >> The Ulster University was founded by Royal Charter in 1984 and is >> registered with company number RC000726 and VAT registered number >> GB672390524.The primary contact address for Ulster University in Northern >> Ireland is Cromore Road, Coleraine, Co. Londonderry BT52 1SA >> >> >> >> >> This email and any attachments are confidential and intended solely for the >> use of the addressee and may contain information which is covered by legal, >> professional or other privilege. If you have received this email in error >> please notify the system manager at postmas...@ulster.ac.uk and delete this >> email immediately. Any views or opinions expressed are solely those of the >> author and do not necessarily represent those of Ulster University. >> The University's computer systems may be monitored and communications >> carried out on them may be recorded to secure the effective operation of the >> system and for other lawful purposes. Ulster University does not guarantee >> that this email or any attachments are free from viruses or 100% secure. >> Unless expressly stated in the body of a separate attachment, the text of >> email is not intended to form a binding contract. Correspondence to and from >> the University may be subject to requests for disclosure by 3rd parties >> under relevant legislation. >> The Ulster University was founded by Royal Charter in 1984 and is registered >> with company number RC000726 and VAT registered number GB672390524.The >> primary contact address for Ulster University in Northern Ireland is Cromore >> Road, Coleraine, Co. Londonderry BT52 1SA > This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmas...@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Ulster University. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. Ulster University does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The Ulster University was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for Ulster University in Northern Ireland is Cromore Road, Coleraine, Co. Londonderry BT52 1SA