[ 
https://issues.apache.org/jira/browse/JENA-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256855#comment-14256855
 ] 

ASF subversion and git services commented on JENA-828:
------------------------------------------------------

Commit 45fbca7b71fb06cd83069bd1ff8dc5259d88c637 in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=45fbca7 ]

JENA-828, JENA-816  : Tidy up String literals handling.

> 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
>
> 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)

Reply via email to