Hello,

I am having problems with incorrectly encoded characters in XML
results from the DBpedia SPARQL endpoint. For example, the following
query:

SELECT ?label WHERE {
<http://dbpedia.org/resource/Kingdom_of_Italy_%281861%E2%80%931946%29>
rdfs:label ?label .
FILTER(lang(?label) = "en") }

The XML results return:

<binding name="label"><literal xml:lang="en">Kingdom of Italy
(1861–1946)</literal></binding>

Note the garbage character between "1861" and "1946".

The HTML and JSON results have no such problem.

Ryan

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to