W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > April 2003

RE: 'Peter proposal' on typed literals

From: <Patrick.Stickler@nokia.com>
Date: Fri, 4 Apr 2003 12:29:49 +0300
Message-ID: <A03E60B17132A84F9B4BB5EEDE57957B5FBB6A@trebe006.europe.nokia.com>
To: <dave.beckett@bristol.ac.uk>, <w3c-rdfcore-wg@w3.org>


To clarify, I am proposing that 

   <rdf:Description rdf:ID="foo" xml:lang="en">
      <some:property rdf:parseType="Literal">
         <h1>Blargh</h1>
      <some:property>
   </rdf:Description>

would result in the triple

   #foo some:property XML"<h1>Blargh</h1>"@en .

Where the interpretation of such XML literals would be akin
to that of M&S along with the new considerations of canonicalization,
and such.

Thus parseType="Literal" would not result in a typed literal of
any kind, and the datatype rdfs:XMLLiteral would be removed
from all RDF specs.

As a second part of this proposal, lang tags would simply be
ignored for typed literals and removed from the graph syntax
for typed literals entirely. Thus

   <rdf:Description rdf:ID="foo" xml:lang="en">
      <some:property rdf:datatype="&xsd;int">10<some:property>
   </rdf:Description>

would result in the triple

   #foo some:property "10"^^xsd:int .

and not

   #foo some:property "10"@en^^xsd:int .

--

I guess these really constitute two proposals, but the first enables
the second, and both address last call comments.

Patrick


> -----Original Message-----
> From: ext Dave Beckett [mailto:dave.beckett@bristol.ac.uk]
> Sent: 04 April, 2003 12:20
> To: w3c-rdfcore-wg@w3.org
> Subject: 'Peter proposal' on typed literals 
> 
> 
> 
> 
> I've seen nothing proposed that I could decide on.  If anyone from
> the WG wants to promote it, please can you outline it on this list in
> advance.  Take care to get the syntax right :)
> 
> Dave
> 
> 
Received on Friday, 4 April 2003 04:29:54 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:56:51 EDT