OK ... thanks Holger.

On Aug 1, 1:21 pm, Holger Knublauch <[email protected]> wrote:
> Hi Barb,
>
> your suggestion below would not be valid SPARQL syntax and is therefore
> beyond what I would want to support.  If you need richer control logic,
> then using SPARQLMotion to define the body of the function would be a
> more expressive mechanism, i.e. pass in the "function name" into a
> helper function which then branches into different cases.
>
> I had also planned to add an sml:invoke(?functionURI, ?args...) function
> but haven't done this yet.  If you are a Java programmer you could add
> such a plugin yourself for the time being.
>
> Holger
>
>
>
> Barb wrote:
> > I have a query which I'm using in a BindBySelect. The select stmt is
> > below ...
>
> > SELECT ?addConstruct
> > WHERE {
> >     LET (?addConstruct := <http://www.owl-ontologies.com/
> > UtilityFunctions#get{?customFunctionName}AddWhere()>) .
> > }
>
> > I have a variable whose value I need to "plug" into the function name
> > so as to call the correct function.
> > For example ...
> > If the ?customFunctionName contains "XYZ" I need to call spin function
> > getXYZAddWhere() and
> > if the ?customFunctionName contains "123" I need to call spin function
> > get123AddWhere() ... and so on.
>
> > Any suggestions?
>
> > Barb- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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