Andrew; Not sure this can be done with SPIN or SPARQL as it breaks up
how SPARQL result sets are returned. There are a number of ways this
can be accomplished in a SPARQLMotion script. The general idea would
be to bind 'a' to a variable, get the second row ('bz', 'ha', etc.)
from a query using sml:ConcatenateText or an iterate subquery
(...etc.), then combine them as needed. A simple example would be:
1. Use sml:BindBySelect to bind ?col1 to 'a'
2. Select out ?col2 in a sml:ConcatenateText query, binding to a
variable (?allCol2 for example)
3. Combine via a sml:BindLiteralVariable in a template specifying {?
col1},{?allCol2}
-- Scott
On Jan 12, 1:25 pm, AndrewB <[email protected]> wrote:
> if i have a result set
>
> a,bz
> a,ha
>
> Can I concatenate it into
>
> a,bzha ?
>
> Maybe using spin?
>
> Thanks!
>
> -Andrew
--
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.