[foaf-dev] RDF/RDFa now part of Drupal core

Toby Inkster tai at g5n.co.uk
Fri Oct 23 12:33:40 CEST 2009

On Thu, 2009-10-22 at 14:02 -0400, Stephane Corlosquet wrote:
> A blog post with comments http://drupalrdf.openspring.net/node/3

<http://drupalrdf.openspring.net/node/3> a sioct:Weblog .

Should be sioct:BlogPost I think.

> Forum page http://drupalrdf.openspring.net/node/4

<http://drupalrdf.openspring.net/node/4> a sioct:ForumTopic,
sioct:Post .

SIOC defines neither of those types. You probably want sioct:BoardPost
and/or sioc:Post.

<http://drupalrdf.openspring.net/forum/4> a sioct:Container .

Also not defined. sioc:Container is what you want, though you could go
more specific with sioc:Forum or sioct:MessageBoard.

> Static page http://drupalrdf.openspring.net/about

Looks good.

Comments that apply to all the pages:

1. Would be nice to include http://www.w3.org/1999/xhtml/vocab in the
<head profile> as recommended by XHTML+RDFa spec.

2. This:
	<meta property="dc:title" content="About" about="/about" />
	<title>About | RDFa in Drupal testing site</title>
could be combined into one element:
	<title about="/about" property="dc:title" content="About"
	  >About | RDFa in Drupal testing site</title>

3. And in the above, the @about attribute is not really needed, as
RDFa's default subject URI is the page itself.

	<title property="dc:title" content="About"
	  >About | RDFa in Drupal testing site</title>

Though I don't claim to know much about Drupal's internal architecture.
Perhaps there is an important reason to be explicit about the subject
URI (e.g. the content can be served up at multiple locations).

Toby A Inkster
<mailto:mail at tobyinkster.co.uk>

More information about the foaf-dev mailing list