Details
Description
Hi,
I'm currently using Jena to extract data from DBpedia dumps. In my process, i need to extract the URI of a DBpedia resource URL. I'm using a Triple(jena.graph.Triple) to fetch the data. But when i use the Node.getLocalName() on an URL like http://dbpedia.org/resource/World_War_II/London I get London which is false.
To avoid this issue, I propose to implement a new method :
String Node.getLocalName(String namespace)
It allows the user to specify the namespace to have a better extraction of the URI. If such a method exists already, I'm interested in knowing its name.
Hope it helps.