Why does this query:

PREFIX afn:<http://jena.hpl.hp.com/ARQ/function#>
SELECT ?s2
WHERE
{
   BIND(<http://example.org/book/book2/sadfju/62eja> AS ?uri)
   BIND( afn:localname(?uri) AS ?s2 )
}

give this answer:

---------
| s2    |
=========
| "eja" |
---------

shouldn't it be:  "62eja" ?

The docs only say this about afn:localname "The local name of ?x if a
IRI. Based on splitting the IRI, not on any prefixes in the query or
dataset."


Thanks,

Tim

Reply via email to