[
https://issues.apache.org/jira/browse/JENA-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne closed JENA-828.
------------------------------
Resolution: Fixed
Fix Version/s: Jena 2.12.2
Changes made - not active unless the JenaRuntime flag is set fro RDF 1.1
> Handling strings for RDF 1.1 in SPARQL
> --------------------------------------
>
> Key: JENA-828
> URL: https://issues.apache.org/jira/browse/JENA-828
> Project: Apache Jena
> Issue Type: Task
> Components: ARQ
> Affects Versions: Jena 2.12.1
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Fix For: Jena 2.12.2
>
>
> RDF 1.1 defines simple literals and simple literals to be the same (literals
> with datatype xsd:string). This affects the sorting, where the SPARQL 1.1
> spec says simple literals sort before datatype literals.
> Best compatibility is to make sorting: xsd:string < all other datatypes with
> same lexical form.
> ARQ also defines ordering between any two RDF terms in a stable, predictable
> way based on lexical form first, then simple literals < lang literals <
> datatypes by URI. This is not covered by the SPARQL spec
> For RDF 1.1 this becomes
> # Order by lexical form
> # Order by xsd:string < language literals.
> # Order by language literals, base don language tag (case-insensitive, then
> case senstive).
> # Datatypes by URI string
> A language literal has datatype rdf:langStirng but also has a non-empty
> language tag.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)