Hi Guys,
We've encountered an issue where one of our automatically constructed queries (in a webservice) is returning incomplete results. We're not using any inferencing. The query mixes the xsd type's in an IN filter.
A simplified version is below -
SELECT ?s ?p ?o
?s ?p ?o .
?s ?p1 ?o1 .
FILTER (
&& ((?o1 in ("Ongoing"^^xsd:string, "false"^^xsd:boolean)))
)
}
}
The query will only return triples relating to the first value in the IN filter highlighted in red. So in the example above for values where o1 = Ongoing. Swapping the order only returns triples with an o1 value of boolean false.
I'm assuming this is a bug? I didn't think there was anything in the sparql spec that suggest every value in an IN must be of the same type?
We're producing this on 4.0.5.
cheers
Mark