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>

Received on Thursday, 29 October 2009 12:45:45 UTC