[Pellet-users] class type query

abdelhak attou attou_ab at hotmail.com
Thu Feb 21 23:11:26 UTC 2008


thx, i feel i didn't clarify what i mean by creating a class and querying about it without adding it , 
 
this class would not be defined in the ontology, 
 
for example, we have an ontology describing different types of people. one type is  father_with_more_han_two_kids
 
now i have a situation, to describe the situation i create a class temp_class (this class does not exist in the ontology and i don't need to add it to it ) and assert that it is equivalent to (type : person ), (has_sex value male)  and (has_kids cardinality 3 ) . I want to avoid reclassification , is there a a way to check the type of temp_class (which would be  father_with_more_han_two_kids) without having to reclassify the KB again (assuming the KB was already classified) .
 
Many thanks 
 
attou



> Date: Thu, 21 Feb 2008 14:03:23 -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 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/> 
_________________________________________________________________
Free games, great prizes - get gaming at Gamesbox. 
http://www.searchgamesbox.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20080221/40d90233/attachment-0001.htm 


More information about the Pellet-users mailing list