Hi Jens,

The official dbpedia endpoint has the following setting in the "[HTTP Server]" section of the virtuoso.ini configuration file:

Charset                     = utf-8

Which is not set in the default configuration files, thus if you have not set this yourself, please check, set it accordingly, restart your Virtuoso instance and try your query again.

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support



On 16 Oct 2008, at 10:25, Jens Lehmann wrote:


Hello,

we have some encoding issues when querying our local Virtuoso instance
of DBpedia. I upgraded it to the latest stable version (5.0.8) today,
but the problem persists.

Loaded Data: (almost) same as in official DBpedia SPARQL endpoint

Query: SELECT * WHERE {<http://dbpedia.org/resource/Plato>
<http://dbpedia.org/property/alternativeNames> ?o}

Attached are the responses we get at our server and at the official
DBpedia endpoint. The response of the official server is correctly UTF-8 encoded, whereas our response is different (not sure what is happening).

Do you have an idea why the problem occurs and how it can be fixed?

Kind regards,

Jens


--
Dipl. Inf. Jens Lehmann
Department of Computer Science, University of Leipzig
Homepage: http://www.jens-lehmann.org
GPG Key: http://jens-lehmann.org/jens_lehmann.asc
<?xml version="1.0" ?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/ result2.xsd">
 <head>
  <variable name="o"/>
 </head>
 <results distinct="false" ordered="true">
  <result>
<binding name="o"><literal xml:lang="en">Aristocles, Plátōn, Πλάτων (Greek)</literal></binding>
  </result>
 </results>
</sparql>
<sparql xmlns="http://www.w3.org/2005/sparql-results#"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/ result2.xsd">
 <head>
  <variable name="o"/>
 </head>
 <results distinct="false" ordered="true">
  <result>
<binding name="o"><literal xml:lang="en">Aristocles, Plátōn, Πλάτων (Greek)&quot;</literal></ binding>
  </result>
 </results>
</sparql>
---------------------------------------------------------------------- --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to