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

Re: subtypes of xsd:string

From: Jeremy Carroll <jeremy@topquadrant.com>
Date: Tue, 24 May 2011 16:46:32 -0700
Message-ID: <4DDC4358.5020507@topquadrant.com>
To: Richard Cyganiak <richard@cyganiak.de>
CC: RDF Working Group WG <public-rdf-wg@w3.org>
On 5/24/2011 3:57 PM, Richard Cyganiak wrote:
> 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.
Yes
> Isn't xsd:string vs xsd:Name just like xsd:integer vs xsd:byte? Two different triples, no problem.
it may be odd if we effectively deprecate xsd:string for RDF (surface 
syntax ...) but still have subtypes lying around ...
Received on Tuesday, 24 May 2011 23:46:55 GMT

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