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-owl] Assigning Data type property values to individuals & SQWRL exception

babar shahzad babarathotmail at yahoo.com
Mon Mar 9 08:52:35 PDT 2009


classA.
Two data type properties hasName & hasAge declared, with domain classA & range String & int respectively are created.

When individuals for classA are created, protege 3.4 shows dialog boxes to assign hasAge & hasName values for individuals too, does putting values in these dialogues boxes assigns value for individuals' corresponding data type properties  ??

I write a rule:  Person(?p) ^ hasAge(?p, ?a) ^ swrlb:lessThan(?a, 25) -> sqwrl:select(?p, ?a) , an exception generated, stating '....expecting String, got individual.... '.

Screen shot is attached.
Thank you for any kind of help.


 
Babar Shahzad Chaudary, 
+358408532112         
Deptt of Information Processing
Science,
University of Oulu, Finland.



      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SWRLTab-Exception.JPG
Type: image/jpeg
Size: 179527 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20090309/5139dfb3/attachment.JPG>


More information about the protege-owl mailing list