On 16/02/17 10:47, Lorenz B. wrote:
1. you could use REGEX
2. I really suggest to use the rdfs:label (or something similar) if
exists for the human readable name of a URI

Good suggestions.


I have a question about striving the local name out of the URI.

SO for example,

the URI I print it out looks like the following:

if I apply:

String localName = resource.getLocalName();

the value of localName is : _Bryan_Bai .
How do I get the value as Zhou_Bryan_Bai

A local name follows the rules for XML qnames.

They can not start with a digit.

They can not contain %

so the longest is "_Bryan_Bai"


Thanks in Advance!

Reply via email to