[Pellet-users] class type query
Evren Sirin
evren at clarkparsia.com
Thu Feb 21 19:03:23 UTC 2008
On 2/21/08 12:50 PM, abdelhak attou wrote:
>
>
> Thx Evren
>
> if i create a class , then without adding it to the ontology i query
> for its super classes, will the reasoner have to reclassify the ontology ?
No, it will just classify that concept (i.e. find its position in the
class hierarchy). Adding the concept and then querying for superclasses
would trigger classification.
Cheers,
Evren
>
>
> Many thanks
>
> Attou
> ------------------------------------------------------------------------
>
> > Date: Thu, 21 Feb 2008 12:38:02 -0500
> > From: evren at clarkparsia.com
> > To: attou_ab at hotmail.com
> > CC: pellet-users at lists.owldl.com
> > Subject: Re: [Pellet-users] class type query
> >
> > On 2/21/08 11:08 AM, abdelhak attou wrote:
> > >
> > >
> > >
> > > Hi ,
> > >
> > >
> > > 1. if i have an ontology, can i define a class using the ontology
> > > api (for example OWL-API) and query for its types according to the
> > > ontology without having to add it to the ontology.
> > >
> >
> > Yes, you can do it. Just create the class using the data factory and
> > pass it to the reasoner.getIndividuals function. There is a bug in
> > Pellet 1.5.1 where such instance retrieval operations are slow if the
> > ontology is not previously classified so you can classify the ontology
> > upfront only once and then retrieve instances for classes as many times
> > as you like.
> >
> > >
> > > 2. If i have to add the class first , will pellet reclassify the
> > > whole ontology or just necessary parts according to some
> > > incremental reasoning algorithm
> > >
> >
> > Depending on what kind of change it is (addition of a new class,
> > addition of a type assertion on existing individual and class, etc.)
> > classification can be repeated. Currently there is no incrmental
> > classification support in Pellet 1.5.1 but there is some preliminary
> > incremental reasoning support for ABox changes.
> > >
> > >
> > >
> > > 3. if no such algorithm is supported, is it planned for future
> > > pellet versions ?
> > >
> >
> > In the next version of Pellet there will be incremental classification
> > support, too.
> >
> > Cheers,
> > Evren
> > >
> > >
> > > thx !
> > >
> > >
> > > attou
> > >
> > >
> ------------------------------------------------------------------------
> > > Everything in one place. All new Windows Live!
> > > <http://www.windowslive.co.uk/get-live>
> > >
> > >
> > >
> ------------------------------------------------------------------------
> > > Messenger on the move. Text MSN to 63463 now!
> > > <http://mobile.uk.msn.com/pc/messenger.aspx%20>
> > >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > 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/
> >
>
>
> ------------------------------------------------------------------------
> Think you know your TV, music and film? Try Search Charades!
> <https://www.searchcharades.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/
More information about the Pellet-users
mailing list