osma commented on issue #1998: URL: https://github.com/apache/jena/issues/1998#issuecomment-1697375359
Thanks for opening the issue @kinow ! More specifically, the problem is that ARQ collation doesn't work with the Fuseki Docker image, apparently due to lack of locale support (though the underlying issue might be different or more complicated than just lack of locales). Copying my analysis from the relevant Skosmos issue: --- I tested this with the example query from the [Jena ARQ Collation](https://jena.apache.org/documentation/query/collation.html) documentation. I put this in `collation.rq`: ``` PREFIX arq: <http://jena.apache.org/ARQ/function#> SELECT ?label WHERE { VALUES ?label { "tsahurin kieli"@fi "tšekin kieli"@fi "tulun kieli"@fi "töyhtöhyyppä"@fi } } ORDER BY arq:collation("fi", ?label) ``` then ran it against the Fuseki Docker container using `rsparql` (from Jena) and the result was this: ``` $ rsparql --query collation.rq --service http://localhost:9030/skosmos/sparql ----------------------- | label | ======================= | "töyhtöhyyppä"@fi | | "tsahurin kieli"@fi | | "tšekin kieli"@fi | | "tulun kieli"@fi | ----------------------- ``` This is not the correct, locale-aware order; `tsahurin kieli` should be first and `töyhtöhyyppä` last. So I think that the Fuseki container configuration should be modified to enable support for locale-aware collation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
