You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pellet Users
Hello,
I’m trying out some different reasoners in my test application which is using Jena 3.0. I wanted to try Pellet so I updated my Maven to grab: <dependency> <groupId>com.github.ansell.pellet</groupId> <artifactId>pellet-jena</artifactId> <version>2.3.6-ansell</version> </dependency>
When I try to access the reasoner factory it is apparent from the error that the Pellet jar is using its own Jena version. java.lang.ClassCastException: org.mindswap.pellet.jena.PelletReasonerFactory cannot be cast to org.apache.jena.reasoner.ReasonerFactory
And upon further inspection I see: package org.mindswap.pellet.jena;
/** * @author Evren Sirin * */ public class PelletReasonerFactory implements ReasonerFactory {
and I can understand why there is a class cast error. Is there a version of the Pellet reasoner that I can plug in to an application already using the org.apache.jena.* ?
I saw that Nicolas Paris had a similar question for an earlier Jena version but that solution did not help.
Thanks, Chris
Chris Snyder
unread,
Dec 8, 2015, 3:22:26 PM12/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pellet Users
To get Pellet to work with Jena 3.0.0 I believe I would need to fork the Pellet code and update all the Jena package paths in it to use the new “org.apache.jena.” location. Can anyone comment on that?
Soheil Roshankish
unread,
Mar 6, 2019, 9:33:42 AM3/6/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pellet Users
Ciao Chris,
I have kind of the same problem, could you use jena and pellet together? do you have such a program in GitHub and can you share it please to see how it looks like? Thanks.
Ignazio Palmisano
unread,
Mar 6, 2019, 3:22:01 PM3/6/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Soheil Roshankish, Pellet Users
I recommend using Openllet, it works with Jena 3.+