Jeff: Quick answer: the ?namespace variable isn't bound to anything, so CONSTRUCT can't construct a triple.
That said, there appears to be a problem with the tutorial. I'll look into that closer... -- Scott On Mar 25, 1:07 pm, "Schmitz, Jeffrey A" <[email protected]> wrote: > Hello, > I was going through the SPARQL Motion variable and have hit a > problem. In Exercise 5, step 8, I can't seem to get the > SpecifyRegionImport sml:ApplyConstruct module to pick up the ?namespace > variable that should be being fed into it from the SetOutputNamespace > sml:EnterLiteral module. When I have the namespace hardcoded as > follows: > > CONSTRUCT { > http://www.sparqlmotion-tutorial.com/exercise4owl:imports > <http://www.topbraid.org/owl/geo/region> . > > } > WHERE { > } > > It all works. However, when I change to: > > CONSTRUCT { > ?namespace owl:imports <http://www.topbraid.org/owl/geo/region> . > > } > WHERE { > } > > The import is not added to the resulting rdf file. SetOutputNamespace > is setup as follows: > > rdf:type - sml:EnterLiteral > sm:outputVariable - namespace > Sml:datatype - xsd:string > Sm:next - SpecifyRegionImport > > Any ideas on what may be causing the problem? > > Thanks, > Jeff --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
