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

Re: subtypes of xsd:string

From: Pat Hayes <phayes@ihmc.us>
Date: Tue, 24 May 2011 21:37:24 -0500
Cc: RDF Working Group WG <public-rdf-wg@w3.org>
Message-Id: <9BF18B77-7A81-4917-8FD2-D4D118DBA539@ihmc.us>
To: Jeremy Carroll <jeremy@topquadrant.com>

On May 24, 2011, at 2:32 PM, Jeremy Carroll wrote:

> 
> Here is a spanner in the plain literal without lang tag vs xsd:string.
> 
> There are several builtin subtypes to xsd:string.
> user defined subtypes for xsd:string are supported.
> 
> So in terms of Richard's quiz:
> 
> 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 .
> 

Answer has to be two. Which is, um, interesting, but hardly fatal. No?

Pat


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

------------------------------------------------------------
IHMC                                     (850)434 8903 or (650)494 3973   
40 South Alcaniz St.           (850)202 4416   office
Pensacola                            (850)202 4440   fax
FL 32502                              (850)291 0667   mobile
phayesAT-SIGNihmc.us       http://www.ihmc.us/users/phayes
Received on Wednesday, 25 May 2011 02:37:57 GMT

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