Hi Núria,

If you are using a Virtuoso 6.1.2 build which is from 2010 , as indicated in 
your version output below then it will not have SPARQL 1.1 bind support which 
was added in 2012 ...

So you need to update, probably compile your own, to the latest Virtuoso open 
source release for v6 (6.1.8) or v7 to get this support, from:

        http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSDownload

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

On 23 Dec 2013, at 14:40, "QUERALT ROSINACH, NÚRIA" <nuria.quer...@upf.edu> 
wrote:

> Dear all,
> 
> We have the virtuoso Version 6.1.2.3127 and i was wondering if is BIND 
> function supported because i got this error message:
> 
> Virtuoso 37000 Error SP030: SPARQL compiler, line 12: syntax error at 'BIND' 
> before '('
> 
> 
> With the following query (an example query in virtuoso documentation pages, 
> http://www.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksSPARQL11BIND):
> 
> 
> PREFIX : <http://example.org/book/>
> PREFIX ns: <http://example.org/ns#>
> 
> SELECT ?title ?price
> FROM <urn:sparql:bind:tests>
> 
> {
>   ?x ns:price ?p .
>   ?x ns:discount ?discount .
>   ?x <http://purl.org/dc/elements/1.1/title> ?title .
>   BIND(?p*(1-?discount) AS ?price)
>   FILTER(?price < 20)
> 
> }
> 
> Many thanks in advance,
> Best regards,
> Núria
> 
> 
> 
> 
> -- 
> ********************************************************************
> Núria Queralt Rosinach
> Research Programme on Biomedical Informatics (GRIB)
> Department of Experimental and Health Sciences
> Universitat Pompeu Fabra
> IMIM (Hospital del Mar Medical Research Institute)
> C/Dr. Aiguader 88, 08003
> Barcelona, Spain
> Tel.: +34 93 316 0536
> E-mail: nuria.quer...@upf.edu
> http://ibi.imim.es/
> ********************************************************************
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into your 
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to