[Pellet-users] directly use of pellet - how to getSameAsIndividuals

Alexander Musidlowski musidlow at informatik.hu-berlin.de
Thu Feb 28 16:09:25 UTC 2008


Hi Nick,

very nice to read you here! Big Thanks for your immediate help.

--
Bye
Alex

on Thursday, February 28, 2008 at 16:53 Nick Drummond wrote:

> Hi again Alex,

> As long as you have the sources for pellet (they come with the P4.0  
> distribution I guess you were using) you can instantiate the pellet  
> reasoner directly, passing it the OWLOntologyManager in the same way  
> as you would the OWLReasoner....

> org.mindswap.pellet.owlapi.Reasoner r = new Reasoner(mngr);
> r.setOntologies(/*imports closure*/);
> r.classify();

> sameAs = r.getSameAsIndividuals(ind);


> Nick

> On 28 Feb 2008, at 15:36, Alexander Musidlowski wrote:

>> Hi,
>>
>> normally i´m using the OWL API to communicate with pellet. But there
>> is the function getSameAsIndividuals(OWLIndividuals) missing.
>> How do i use pellet directly without the OWL API? I´ve got an
>> OWLOntology from which i want to know what other individuals
>> connected by "same as" given an OWLIndividual.
>>
>> -- 
>> Bye
>> Alex
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pellet-users mailing list
>> Pellet-users at lists.owldl.com
>> http://lists.owldl.com/mailman/listinfo/pellet-users
>> _______________________________________________
>>
>> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/

> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________

> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/







-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080228/f1b46a40/attachment.pgp 


More information about the Pellet-users mailing list