Re: RDF 1.1 / rdf:langString (test change)

Hi all,

Just to understand the impact here: didn't we decide to stick with RDF1.0 for SPARQL1.1 and reflect such things only in a separate Note?
Maybe we can discuss this briebly under the liaison item in today's TelCo.

best,
Axel

On 15 Nov 2011, at 12:39, Andy Seaborne wrote:

> RDF 1.1 will have datatypes for all literals.  Plain literals are either
> xsd;String (no lang tag) or rdf:langString (with language tag).
> 
> I've changed SPARQL's DATATYPE to reflect this.
> 
> Two tests are affected: one in SPARQL 1.0, one in SPARQL 1.1
> 
>  From SPARQL 1.0:
> 
> http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/q-datatype-2.rq
> 
>  From SPARQL 1.1:
> functions/if01.rq
> 
> I've changed if01.rq so that it records what I think is the correct
> answers but has this lost some of the intention of the test?
> 
> == Query
> 
> BASE    <http://example.org/>
> PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
> 
> SELECT  ?o (if(( datatype(?o) = xsd:integer ), true, false) AS ?integer)
> WHERE
>    { ?s ?p ?o }
> 
> == Old results
> ------------------------------
> | o                 | integer |
> ===============================
> | "123"             | false   |
> | "日本語"@ja          |         |
> | "english"@en      |         |
> | "français"@fr     |         |
> | "abc"^^xsd:string | false   |
> | "def"^^xsd:string | false   |
> | 7                 | true    |
> -------------------------------
> 
> == New results
> ------------------------------
> | o                 | integer |
> ===============================
> | "123"             | false   |
> | "def"^^xsd:string | false   |
> | "français"@fr     | false   |
> | "日本語"@ja          | false   |
> | 7                 | true    |
> | "abc"^^xsd:string | false   |
> | "english"@en      | false   |
> -------------------------------
> 
> 

Received on Tuesday, 15 November 2011 13:34:07 UTC