On 6/26/2012 17:14, Mark Colquhoun wrote:
Thanks, I have this working now.

I did learning something along the way which wasn't obvious to me. You need to name the output variable the same as the variable of the module you are trying to bind to as the body. This wasn't immediately obvious to me but made sense once I worked it out. I went back to look at the help afterwards but didn't see anything obvious in there either?

Using namesake variables is one approach. Another (and more flexible) is to use SPARQL expressions: In your receiving SM module, click on the context menu of the property and pick "Add SPARQL expression". Then enter ?varName - this is a minimal SPARQL expression that simply uses the value of the variable ?varName.

HTH
Holger

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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