A form of "localname" can be done in SPARQL without the need for extension functions:

    REPLACE(str(?uri), '^.*(#|/)', '')"

which returns the part after the last / or #

        Andy

Reply via email to