Ah, just remembered. We do have a general workaround for SPARQL syntax. Name your variable with a URN, i.e. <urn:x-tb:myVar>. You can assign it using the variable name that is the last token in the URN. I.e. 'BIND (... AS ?myVar)'. Then use in the query, such as' LIMIT <urn:x-tb:myVar>'. I haven't tried this with LIMIT, but I know it works elsewhere in TBS.
-- Scott On Jun 26, 10:18 am, PaulZH <[email protected]> wrote: > I know, but I wondered if that integer could be passed on from another > module. > But, deducting from your answer, it's just plain SPARQL. > > Paul > > > > > > > > On Tuesday, June 26, 2012 4:14:38 PM UTC+2, Scott Henninger wrote: > > > Paul; Please check the SPARQL syntax on this one. Only integers are > > allowed for LIMIT. > > > -- Scott > > > On Jun 26, 9:52 am, PaulZH <[email protected]> wrote: > > > question related to parameter: sml:selectQuery of SPARQLMotion modfule: > > > sml:SerializeSPARQLResults > > > > Is it possible to set the LIMIT of the SPARQL SELECT from outside? > > > > SELECT * > > > WHERE { > > > ?a a vl:School .} > > > > LIMIT ?comingfrompreviousmodules. -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN. 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-users?hl=en
