Github user kinow commented on the issue:

    https://github.com/apache/jena/pull/237
  
    Pull request updated. Now we have a new `NodeValueSortKey` type, and a 
value space for it (`VSPACE_SORTKEY`). Unit tests added.
    
    When the query contains text annotated with multiple languages, and you use 
the arq:collation function, everything gets overwritten as a sort key < 
collation, string >. So say that you have values such as "Casa"@es, "Casa"@pt, 
"Haus"@de, and "House" in your values.
    
    The function will get the string part (i.e. Casa, Casa, Haus, House), 
discard anything else, and will sort everything according to the collation that 
the user provided.
    
    All unit tests passing. Might be interesting testing now in Fuseki, with 
more elaborated queries. I believe the desired behaviour will work with this 
change, but would be nice to have others playing a little bit with the function 
and checking if there are no undesired changes.
    
    Thanks!
    Bruno


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to