Jena/SPARQL.org bug when processing URNs

Hi Andy,

Shane McCarron spotted this bug in the SPARQL.org implementation while
running his RDFa processor against the RDFa test suite[1]. When we have
a triple like this:

<http://example.org/library#book>
   <http://purl.org/dc/elements/1.1/identifier>
      <urn:isbn:0752820907> .

... running a SPARQL query on the graph above, like this:

ASK WHERE
{
   <http://example.org/library#book>
      <http://purl.org/dc/elements/1.1/identifier>
         <urn:ISBN:0752820907> .
}

... will return a negative result. Note that the triple has the "isbn"
value in lower-case, and the SPARQL query has the "ISBN" value in
upper-case. Per RFC2141, section 6[2], the following URNs should be
lexically equivalent:

urn:isbn:0752820907
urn:ISBN:0752820907
urn:iSbN:0752820907

This seems to be a bug in the SPARQL engine - can you please verify that
it is, or let us know why it isn't? Thanks in advance :)

-- manu

http://rdfa.digitalbazaar.com/rdfa-test-harness/
http://tools.ietf.org/html/rfc2141#section-6

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.0 Website Launches
http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches

Received on Thursday, 18 September 2008 20:09:43 UTC