Yes I can confirm that our SWRL support has a bug in the handling of boolean 
literals.

Thanks for the report
Holger


On Apr 1, 2011, at 2:37 PM, arterisk wrote:

> Hi group,
> I'm not sure whether is my syntax wrong or not for swrl syntax..
> when i put 'true'^^xsd:boolean in either swrl:head or swrl:body, im
> not able to get the result and even the rules is not displayed in the
> Rules View.
> 
> For ex :
> 
> swrl:body
> (?p isStudyAt ?sc)
> 
> swrl:head
> (?p isaStudent 'true'^^xsd:boolean)
> 
> 
> isaStudent is a property of type owl:DatatypeProperty and has range
> xsd:boolean.
> 
> 
> when i run the inference , i cannot get any result.
> 
> However , when i change 'true'^^xsd:boolean to string 'true' .Its work
> perferctly and i can get the result.
> 
> i want that the isaStudent either true or false.. How to include the
> xsd:boolean  or any boolean format to the swrl:body or swrl:head?
> 
> thanks alot...
> 
> -- 
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to