From: Ignazio P. <ipa...@gm...> - 2011-10-30 01:02:29
|
On 30 October 2011 01:44, sridevi polavaram <spo...@gm...> wrote: > Hi, > How can I list only instances of the classes without listing the inferred > instances from its subclasses. > If A1, A2 and A3 are subclasses of A, then I want to get instances of A, but > not A1, A2 and A3. Use OWLReasoner::getInstances(OWLClassExpression, true); the flag will tell the reasoner to return only the direct instances of the class expression you pass in. HTH, I. > > How can I achieve this using DL query? Can you give a example? > Thanks > Sridevi > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > > _______________________________________________ > Owlapi-developer mailing list > Owl...@li... > https://lists.sourceforge.net/lists/listinfo/owlapi-developer > > |