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
Mon Mar 9 08:52:35 PDT 2009

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, 
Deptt of Information Processing
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: <>

More information about the protege-owl mailing list