Holger, We are looking for a method that won't rely on branching with multiple apply construct modules. We may have several different combinations for the construct and where blocks of an apply construct module.
Our goal is to provide one script that can perform some constructs for all of our different hierarchies. They all have some common requirements of the script. However, some will also need additional and different triples constructed. Since we can end up with many different combinations, we were hoping to find a more dynamic approach than simply a branch by ask. Please let us know of any suggestions that come to mind. We are currently looking into how sml:ApplyConstruct instances are created and how the query is executed. If you need more details, I can reply offline. Thanks, Catrina On Aug 3, 11:55 pm, Holger Knublauch <[email protected]> wrote: > Hi Barb, > > dynamically setting the CONSTRUCT query of sml:ApplyConstruct is not > supported, and I don't hope that this is the only solution to your > task. In general, I would avoid messing around with the SPARQL syntax, > but instead put relevant information into the model. This of course > depends on the complexity of the query pattern, and the number of > combinations that your string generation creates. But in many cases > you may be able to simple have multiple sml:ApplyConstructs and then > have sml:BranchByAsk to select the branch depending on the context. > Another approach would be to create additional "temporary" triples > which are then used by the CONSTRUCT clause. All that is very hard to > say without seeing some details. > > Holger > > On Aug 3, 2009, at 8:18 PM, Barb wrote: > > > > > > > I have a variable in my SPARQLMotion script which contains a construct > > query.This query has been built via calls to multiple custom > > functions.The sml:ApplyConstruct module does not "take" a variable. Is > > there any type of SPARQLMotion function that would "honor" the > > variable and run the query. I would need to ensure that the output > > triples only contained the constructed triples. > > > 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 -~----------~----~----~----~------~----~------~--~---
