org.apache.commons.lang.StringEscapeUtils.unescapeJava(string); did the trick...

But still, why are the URIs not encoded this way?

cheers,
daniel

On 12.09.2011, at 14:39, Sebastian Hellmann wrote:

> Please try a Turtle parser. NTriple is a subset of Turtle, but turtle has 
> unicode support.
> Sebastian
> 
> Am 08.09.2011 12:03, schrieb Gerber Daniel:
>> Hi Max,
>> Thanks for this hint. This means that there are no umlaut characters allowed 
>> in the file? What's with the URIs?
>> 
>> <http://dbpedia.org/resource/Emperor_Ninkō>  
>> <http://www.w3.org/2000/01/rdf-schema#label>  "Nink\u014D"@de .
>> 
>> How can I "un-escape" those characters? Parsing them with Nxparser and Jena 
>> did not work.
>> 
>> On 08.09.2011, at 11:14, Max Jakob wrote:
>> 
>>> Like in the previous releases, characters beyond ASCII decimal 127 are
>>> unicode escaped since this is recommended for N-Triples.
>>> 
>>> Cheers,
>>> Max
>>> 
>>> On Mon, Sep 5, 2011 at 10:49, Gerber Daniel
>>> <[email protected]>  wrote:
>>>> I mean something like this. Which I'm currently have to regex-replace with 
>>>> the corresponding latin character :(
>>>> 
>>>> <http://dbpedia.org/resource/Angstrom>  
>>>> <http://www.w3.org/2000/01/rdf-schema#label>  "\u00C5ngstr\u00F6m 
>>>> (Einheit)"@de .
>>>> 
>>>> Cheers,
>>>> Daniel
>>>> 
>>>> On 02.09.2011, at 17:28, Max Jakob wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> On Fri, Sep 2, 2011 at 13:39, Gerber Daniel
>>>>> <[email protected]>  wrote:
>>>>>> Thanks for the update but the file 
>>>>>> http://downloads.dbpedia.org/3.7/de/labels_de.nt.bz2 contains encoding 
>>>>>> errors for the labels. The URIs are okay. Could this be updated?
>>>>> Which encoding errors are you referring to specifically?
>>>>> 
>>>>>> Just curious, why the switch back to the non-international 
>>>>>> URI's?(<http://XX.dbpedia.org/resource...)
>>>>> The international URIs can be used to set up non-English endpoints.
>>>>> For the main release, we use the URIs of the English equivalent.
>>>>> 
>>>>> Cheers,
>>>>> Max
>>>>> 
>>>> 
>> 
>> ------------------------------------------------------------------------------
>> Doing More with Less: The Next Generation Virtual Desktop
>> What are the key obstacles that have prevented many mid-market businesses
>> from deploying virtual desktops?   How do next-generation virtual desktops
>> provide companies an easier-to-deploy, easier-to-manage and more affordable
>> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>> _______________________________________________
>> Dbpedia-discussion mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
> 
> 
> -- 
> Dipl. Inf. Sebastian Hellmann
> Department of Computer Science, University of Leipzig
> Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
> Research Group: http://aksw.org
> 


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to