Hi An,
it is difficult to say what going wrong without having your code or at
least a runnable, minimal example and maybe some error stack trace.
Why do you need a default constructor for the PelletReasoner class? As
far as I know, the class works based on the knowledge sources which are
given by the constructor.
Kind regards,
Lorenz
> Hi all,
>
> I tried to use Pellet reasoner with DL-Learner but could not get success.
> The original Pellet reasoner wrapper class lacks of the default
> constructor (constructor with no parameter).
> I tried to add a default constructor and the reasoner can be initialised
> and it can load the ontology successfully.
> However, a null pointer exception occurred when the hasTypeImpl() method
> is called
> (e.g. by the learning problem component for the coverage/accuracy
> calculation).
>
> Are there anyone can use this reasoner? I would appreciate for your help
> so much if you can help me
> to make use of this reasoner in Dl-Learner.
>
> I am trying to use this reasoner because the fast instance checker seems
> to be very slow when I tried to load
> the ontology in the showering-duration example in DL-Learner repository.
> It took minutes to load this ontology
> while the Pellet reasoner takes only several seconds (usually less than
> 10s).
>
> Thanks,
> An.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> dl-learner-discussion mailing list
> dl-...@li...
> https://lists.sourceforge.net/lists/listinfo/dl-learner-discussion
>
|