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

subtypes of xsd:string

From: Jeremy Carroll <jeremy@topquadrant.com>
Date: Tue, 24 May 2011 12:32:13 -0700
Message-ID: <4DDC07BD.8040301@topquadrant.com>
To: RDF Working Group WG <public-rdf-wg@w3.org>

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 .


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 19:32:35 GMT

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