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
> Hi, > > 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: > http://example.com/resource/authors/%28Zhou%29_Bryan_Bai > <http://dblp.l3s.de/d2r/resource/authors/%28Zhou%29_Bryan_Bai> > > if I apply: > > String localName = resource.getLocalName(); > > the value of localName is : _Bryan_Bai . > How do I get the value as Zhou_Bryan_Bai > > Thanks in Advance! > -- Lorenz Bühmann AKSW group, University of Leipzig Group: http://aksw.org - semantic web research center
