W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2011

Re: subtypes of xsd:string

From: Richard Cyganiak <richard@cyganiak.de>
Date: Tue, 24 May 2011 23:57:37 +0100
Cc: RDF Working Group WG <public-rdf-wg@w3.org>
Message-Id: <9E7D72DA-D9A7-4C1A-911B-851AB4D99290@cyganiak.de>
To: Jeremy Carroll <jeremy@topquadrant.com>

On 24 May 2011, at 20:32, Jeremy Carroll wrote:
> Q2C. Does this RDF graph (written in Turtle) have one, two or three triples?
> 
> <x-eg:a>  <x-eg:c>  "foo" .
> <x-eg:a>  <x-eg:c>  "foo"^^xsd:string .
> <x-eg:a>  <x-eg:c>  "foo"^^xsd:Name .

Two triples in the graph -- "foo"^^xsd:string and "foo"^^xsd:Name.

Both say the same thing under XSD-Entailment.

Isn't xsd:string vs xsd:Name just like xsd:integer vs xsd:byte? Two different triples, no problem.

Best,
Richard



> 
> 
> xsd:Name is defined at
> http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#Name
> Note xsd:Name is explicitly supported in:
> http://www.w3.org/TR/rdf-mt/#dtype_interp
> 
> 
> Jeremy
> 
Received on Tuesday, 24 May 2011 22:58:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:43 GMT