Hi Greg,

Thanks for reporting, we are looking into this ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 13 Oct 2010, at 23:27, Gregory Williams wrote:

> I've run into what I believe is another bug in virtuoso's SPARQL 
> implementation. Unless you've got some perverse RDF loaded into the database, 
> this following query shouldn't return any variable bindings:
> 
> SELECT * WHERE { OPTIONAL { [] 
> <http://example.com/some_uri_that_doesnt_exist> ?f . FILTER(?f = 1234567890) 
> } }
> 
> However, I've confirmed that it returns ?f=1234567890 from both DBPedia and 
> from my own virtuoso installation. I would guess the optimizer is trying to 
> be a bit too clever and rewriting the ?f variable with the numeric literal in 
> the filter and binding ?f with the same value in the results, but this isn't 
> correct when the BGP in the OPTIONAL doesn't match anything in the dataset.
> 
> thanks,
> .greg
> 
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to