Hi Tim,

no sorry, String manipulations of SPARQL queries are not supported and  
won't be supported in SPARQLMotion. I would like to keep at least the  
queries in the language static so that future engines can analyze  
existing queries in a script, for example to optimize them. We also  
want to be able to change the storage format of the queries  
themselves. More on that in 3.0 :)

Why can't you use sml:ModifyPrefixes?

Holger


On Oct 8, 2008, at 3:35 PM, Smith, Tim wrote:

> Hi – If I define a variable upstream of a ModifyPrefixes module, can  
> I use it to define a prefix via the addedPrefix property?
>
> I was thinking of something like ?pre = “prefix <uri>”  and using {? 
> pre} to reference it in addedPrefix in a downstream ModifyPrefixes  
> module.
>
> When I try this, I can define a variable to mimic the input format  
> required for the prefix and, but the value does not appear to be  
> substituted into the addedPrefix attribute.  According to the help  
> system, all string variables of SPARQLMotion modules should be able  
> to accept a bound variable as input so I was hoping this might work.
>
>
> Thanks,
>
> Tim
>
> >


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

Reply via email to