Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1102

SPARQL: EBV of "a"@en should be true but is false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Jena 3.1.0
    • ARQ
    • 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.

      Attachments

        Activity

          People

            andy Andy Seaborne
            cygri Richard Cyganiak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: