For function arguments (actually for any SPARQL function), the trick is
to call the input variables ?arg1 so that they will be picked up
automatically. In other words, call the output variable of the previous
step ?arg1 (or use sml:CloneVariable to rename an existing variable) and
then leave the sp:arg1 in the function call empty.
Holger
Barb wrote:
> I'm creating a new SPARQLMotion script and am in the graph view. I've
> selected upperCase from the palette and dragged it onto the canvas.
> I'm simply passing it a variable from a previous step and it contains
> the string "hello world". No matter what I put as the input argument
> (sp:arg1) it doesn't recognize it as a variable but as a literal. When
> I change sp:arg1 to "hello world" and set sp:arg2 to "hello" the
> result is "HELLO world". I'm certain you must be able to use a
> variable ... I have the following:
>
> sp:arg1 {?commonAdd} - I've tried putting quotes around it but
> nothing seems to work. Do I have to specify (somewhere) that arg1 is a
> variable and not a literal?
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TopBraid Composer Users" group.
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-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---