Hi,
I would think that it is store and implementation dependent.
Does a specified UTF-8 character order exist?
Did you try it on other stores or Jena?
(I just realize that I'm not answering your question, but adding more questions on top ;)

There is a paper at ISWC, that might be interesting also:
Sören Auer, Matthias Weidl, Jens Lehmann, Amrapali J. Zaveri, Key-Sun Choi: I18n of Semantic Web Applications. <http://www.informatik.uni-leipzig.de/%7Eauer/publication/I18n.pdf>
http://www.informatik.uni-leipzig.de/~auer/publication/I18n.pdf

Regards,
Sebastian

Am 26.08.2010 16:08, schrieb Alex Rodriguez Lopez:
Hi!

I'm new to the list and to the whole Linked Data thing altoghether, but
will have to work on it for some time so I'll be exploring the DBpedia
SPARQL end-point for a project we are working on.

The thing is, it is based on Portuguese resources, and I was wondering
first of all what is the general feeling on working with DBpedia on
other-than-english resources.

For example, (and this is my concrete question), is there a way to
correctly order results so accented characters are also correctly ordered?

If I try this example query on http://dbpedia.org/sparql :

SELECT ?label
WHERE {
[] skos:subject<http://dbpedia.org/resource/Category:Portuguese_writers>  ;
     rdfs:label ?label .

FILTER ( langMatches(lang(?label), "PT") )
}
ORDER BY ?label

I get this results
http://dbpedia.org/sparql?default-graph-uri=http://dbpedia.org&should-sponge=&query=SELECT+%3Flabel%0D%0AWHERE+{%0D%0A[]+skos:subject+%3Chttp://dbpedia.org/resource/Category:Portuguese_writers%3E+;%0D%0A+++rdfs:label+%3Flabel+.%0D%0A%0D%0AFILTER+(+langMatches(lang(%3Flabel),+%22PT%22)+)%0D%0A}%0D%0AORDER+BY+%3Flabel&format=text/html&debug=on&timeout=

Notice that at the end

...
Urbano Tavares Rodrigues
Vasco Graça Moura
Vitorino Nemésio
Álvaro Cunhal

"Álvaro" gets incorrectly ordered at the end.

Is this dependent on the underlying store (much like SQL collations)? Is
there something that can be done on my side to get this query ordered
like it should be for Portuguese / UTF8 (some notation in SPARQL or
specific to DBpedia / Virtuoso )?

Thanks and keep up the good work!! This is a truly impresive project!

Regards,

Alex

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to