Re: [Virtuoso-users] sql: and bif: prefixes not working in SPARQL queries

2011-03-02 Thread Martin Gerlach
Hi Ivan, thank you, the parantheses are indeed the solution to our problem. The Virtuoso OpenSource version that produced the problem is 06.01.3126 We did not experience the problem with version 06.01.3127 Cheers Martin On 02.03.2011 11:07, Ivan Mikhailov wrote: Hello Martin, Expressions in

Re: [Virtuoso-users] sql: and bif: prefixes not working in SPARQL queries

2011-03-02 Thread Ivan Mikhailov
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 column

Re: [Virtuoso-users] sql: and bif: prefixes not working in SPARQL queries

2011-03-02 Thread Martin Gerlach
Hi, Virtuoso Edition is OpenSource: Version: * Version: 06.01.3126 * Build: Feb 19 2010 Installed a few days ago on an Ubuntu system using the ubuntu/debian package. The exact query should not be important as I observed the problem no matter which query I fired as long as it used sql

[Virtuoso-users] sql: and bif: prefixes not working in SPARQL queries

2011-03-01 Thread Martin Gerlach
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 sta