Hello all,

I'm very new to TopBraid and SPIN and I'm trying to write a function
that returns 0 if a certain condition is met, and otherwise returns
-2. My understanding is that I should be able to use the SPARQL 1.1 IF
operator to write such a function, but I can't find any documentation
on the correct syntax. Can anyone provide an example SPARQL query that
uses the SPARLQ IF operator to perform such an action and that I would
put in the spin:body of a function? (I hope this makes sense ...
please ask for clarification if not)

Any help is much appreciated, thanks,

Alsion

-- 
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