[Pellet-users] Possible to retrieve value of property without "traversing" the knowledge base?

Koh Shu Lin kohshulin at hotmail.com
Mon Jun 2 16:04:33 UTC 2008


Hi all,
 
I'm currently trying out Pellet using OWL API. I have a problem trying to retrieve values from the knowledge base that I've loaded.
 
For example, I have an ontology that describes about Organisation and I would like to retrieve the string content of a datatype property (which is named "productCategory") which is declared under the "Description" concept.
 
The ontology is expressed as follows:
An Organisation (Concept) has a ProductService (through an object property "hasProductService") which consists of a Description (through an object property "hasDescription").
 
I've tried creating a method that traverse through every properties of each concept that is found though a depth-first search, starting from a root concept "Organisation". However I will end up searching endlessly as I have also included inverse functional properties such as "productServiceOf" which will bring me back to the "Organisation" concept.
 
Is there any method that I can efficiently retrieve the string value without searching through every single properties from the root concept (which is "Organisation" in this case)?
_________________________________________________________________
Manage multiple email accounts with Windows Live Mail effortlessly.
http://www.get.live.com/wl/all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20080602/3d71dcee/attachment.htm 


More information about the Pellet-users mailing list