Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] How to store a datataype property value in a varibale

jad al ahal8 at
Mon Jul 27 15:42:06 PDT 2009


This may sound easy for you but I am having a hard time storing a date type or object type property to a variable.
I wrote the following python code:
   cKey  =owlModlel.getOWLIndividual(cKey)# To get the instance that has the Value
   myhostCPUMHz =cKey.getPropertyValue("hostCPUMHz")
   print myhostCPUMHzthe result:
TypeError: getPropertyValue(): 1st arg can't be coerced to edu.stanford.smi.protegex.owl.model.RDFProperty
Thank you,


Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-discussion mailing list