Thanks Scott,
   One thing is the tutorial specifies the BindWithParameter module be used, 
but in the latest beta you can't use that (it's deprecated).  Instead I'm using 
an sml:EnterLiteral instance to query for the namespace.  Perhaps that was the 
wrong one to choose to replace BindWithParameter?

Thanks,
Jeff 

-----Original Message-----
From: Scott Henninger [mailto:[email protected]] 
Sent: Wednesday, March 25, 2009 1:50 PM
To: TopBraid Composer Users
Subject: [tbc-users] Re: Passing SPARQLMotion variable


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

Reply via email to