[Pellet-users] directly use of pellet - how to getSameAsIndividuals
Nick Drummond
nick.drummond at cs.manchester.ac.uk
Thu Feb 28 15:53:31 UTC 2008
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/
More information about the Pellet-users
mailing list