Thanks, Scott, that was what I expected. I am getting some unexpected results, and "carried-over" bindings could have caused the problem. Before I saw your response, I ran a smaller test that also confirmed what you said. I will look for other causes of the problem.
Jim Scott Henninger <[email protected]> Sent by: [email protected] 05/05/2009 01:44 PM Please respond to [email protected] To TopBraid Composer Users <[email protected]> cc Subject [tbc-users] Re: Variables and Iteration Jim; This depends on how you are binding the variable. For example, using an OPTIONAL clause in IterateOverSelect will bind the variable for each iteration. For example: SELECT ?s ?label WHERE { ?s a :Thing . OPTIONAL {?s rdfs:label ?label .}. } ...the ?label will be bound to a value if bound for that result and unbound otherwise. -- Scott On May 5, 11:48 am, James A Miller <[email protected]> wrote: > What is the expected behavior related to bound variables and iterations? > If a variable is bound during one iteration, but is not re-bound in the > following iteration, is it still bound (from the prior iteration)? > > (If this is not clear: > > Iteration A; > ?a = 1 > bound(?a) = true > > Iteration B: > bound(?a) = ??? ) > > If it is still bound, is there a way to manually 'un-bound' it at the > start of the next iteration? > > Jim The following line is added for your protection and will be used for analysis if this message is reported as spam: (Raytheon Analysis: IP=209.85.146.166; e-from=grbounce--o7mwauaaadwl_g2bqlyhjkrnqovtno4=james_a_miller=raytheon....@googlegroups.com; [email protected]; date=May 5, 2009 5:43:07 PM; subject=[tbc-users] Re: Variables and Iteration) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
