W3C home > Mailing lists > Public > public-rdfa@w3.org > October 2009

RE: Carrying all of a resource's metadata as RDFa?

From: Hondros, Constantine <Constantine.Hondros@wolterskluwer.com>
Date: Thu, 29 Oct 2009 14:46:07 +0100
To: Toby Inkster <tai@g5n.co.uk>
CC: "public-rdfa@w3.org" <public-rdfa@w3.org>
Message-ID: <6C01B6D23EB50A4487054D57249A0B010966A8B67F@EUSRVWK01005.eu.wkeurope.com>
Nice one. Shows there's more than one way to cook your RDFa.

Is there a way to do this without explicitly naming the bNode?

BTW, the use of rdf:XMLLiteral was purely to illustrate the problem of stray literal values being accidentally rendered in body of your document, as you can't hide them in @content.

-----Original Message-----
From: Toby Inkster [mailto:tai@g5n.co.uk]
Sent: 29 October 2009 13:45
To: Hondros, Constantine
Cc: public-rdfa@w3.org
Subject: Re: Carrying all of a resource's metadata as RDFa?

On Thu, 2009-10-29 at 12:01 +0100, Hondros, Constantine wrote:
> It would seem logical to put this sort of metadata in the <head> of a
> document, but since that only allows a flat structure it seems to be
> impossible with RDFa.

No, it's not impossible:

<head xmlns:xyz="http://example.com/"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <link about="_:a" typeof="xyz:Period"
        rev="xyz:applicablePeriod" resource="" />
  <meta about="_:a" property="xyz:startDate"
        content="blah" datatype="rdf:XMLLiteral" />   <meta about="_:a" property="xyz:endDate"
        content="blah" datatype="rdf:XMLLiteral" /> </head>

Though I'm not sure why you'd want those dates to be XMLLiterals.
xsd:date seems like a more appropriate datatype.

--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>



This email and any attachments may contain confidential or privileged information
and is intended for the addressee only. If you are not the intended recipient, please
immediately notify us by email or telephone and delete the original email and attachments
without using, disseminating or reproducing its contents to anyone other than the intended
recipient. Wolters Kluwer shall not be liable for the incorrect or incomplete transmission of
of this email or any attachments, nor for unauthorized use by its employees.

Wolters Kluwer nv has its registered address in Alphen aan den Rijn, The Netherlands, and is registered
with the Trade Registry of the Dutch Chamber of Commerce under number 33202517.
Received on Thursday, 29 October 2009 13:48:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 October 2009 13:48:50 GMT