You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/17 21:58:46 UTC

[jira] [Commented] (JENA-1102) SPARQL: EBV of "a"@en should be true but is false

    [ https://issues.apache.org/jira/browse/JENA-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062797#comment-15062797 ] 

ASF subversion and git services commented on JENA-1102:
-------------------------------------------------------

Commit 590c06a8937a071c7f9b01254d44c7bc2811adfa in jena's branch refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=590c06a ]

JENA-1102; Use new lang string support.

> SPARQL: EBV of "a"@en should be true but is false
> -------------------------------------------------
>
>                 Key: JENA-1102
>                 URL: https://issues.apache.org/jira/browse/JENA-1102
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>            Reporter: Richard Cyganiak
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> {code}
> SELECT ("pass" AS ?result) WHERE { FILTER("Hello") }
> {code}
> {code}
> SELECT ("pass" AS ?result) WHERE { FILTER("Hello"@en) }
> {code}
> 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|http://www.w3.org/TR/sparql11-query/#ebv], both should be true because they are plain literals and have non-zero length:
> bq. 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)