This ones confusing me..

I can't filter on a literal when GRAPH is included in a sparql query..

select ?g ?s ?p ?o WHERE { GRAPH ?g { ?s ?p ?o . FILTER( ?o = "dba" ) } }

produces the error:
37000 Error SQ074: Line 1: syntax error at ')' before 'when'


the same query works fine when you swap the literal for a uri

select ?g ?s ?p ?o WHERE { GRAPH ?g { ?s ?p ?o . FILTER( ?o =
<http://webr3.org:8890/dataspace/person/dba#this> ) } }

a bug?

regards!

Nathan

Reply via email to