Hello Martin, Expressions in SPARQL result list need parentheses, like
define sql:signal-void-variables 1 select ?s ?ld ?le (bif:length(?ld)) as ?l ... The rationale for this syntax is that for some expressions it is impossible to distinguish between one column with long expression or two columns with shorter expressions, e.g. select 5 - 3 can be readed as select (5 - 3) or select (5) (- 3) Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Tue, 2011-03-01 at 15:26 +0100, Martin Gerlach wrote: > Hi, > > On one of our Virtuoso OpenSource instances, I get the following > message > > 37000 Error SP030: SPARQL compiler, line 1: syntax error at 'bif:length' > before '(' > > SPARQL query: > define sql:signal-void-variables 1 select ?s ?ld ?le bif:length(?ld) as ?l ... > ... > The same thing happens with any standard sql: and bif: function. > > It is a standard installation, no special or unusual settings. > > Any ideas about what may be missing or misconfigured? > > Cheers > Martin > > -- > > ______________________________________________________________________ > > Martin Gerlach > Senior Softwareentwickler > Research > > Neofonie GmbH > Robert-Koch-Platz 4 > 10115 Berlin > > T +49.30 24627 413 > F +49.30 24627 120 > [email protected] > http://www.neofonie.de > > Handelsregister > Berlin-Charlottenburg: HRB 67460 > > Geschäftsführung > Thomas Kitlitschko > Dr. Mario Lenz > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ Virtuoso-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
