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

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

From: Toby Inkster <tai@g5n.co.uk>
Date: Thu, 29 Oct 2009 12:45:00 +0000
To: "Hondros, Constantine" <Constantine.Hondros@wolterskluwer.com>
Cc: "public-rdfa@w3.org" <public-rdfa@w3.org>
Message-Id: <1256820300.25705.68.camel@ophelia2.g5n.co.uk>
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/"
  <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" />

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
Received on Thursday, 29 October 2009 12:45:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:44 UTC