Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
SELECT ("pass" AS ?result) WHERE { FILTER("Hello") }
SELECT ("pass" AS ?result) WHERE { FILTER("Hello"@en) }
The first has a result, the second doesn’t. Tested on sparql.org.
According to what I think is the relevant bit of the spec, both should be true because they are plain literals and have non-zero length:
If the argument is a plain literal or a typed literal with a datatype of xsd:string, the EBV is false if the operand value has zero length; otherwise the EBV is true.