W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > June 2007

Re: Blank nodes & classes

From: Dan Connolly <connolly@w3.org>
Date: Wed, 13 Jun 2007 08:57:37 -0500
To: Ben Adida <ben@adida.net>
Cc: CÚdric Mesnage <cedric.mesnage@lu.unisi.ch>, public-rdf-in-xhtml-tf@w3.org
Message-Id: <1181743057.13326.396.camel@pav>

On Wed, 2007-06-13 at 00:02 -0700, Ben Adida wrote:
> Cedric,
> This is an interesting question. I had to deal with this with the RDFa
> clipboard [1], and I chose to use the predicate rel="rdf:li" on any
> bnode I wanted to appear on the page, effectively saying "this bnode is
> an item of the current page."

Perhaps it's more straightforward to use foaf:topic 

"The foaf:topic property relates a document to a thing that the document
is about."
 -- http://xmlns.com/foaf/spec/#term_topic

>  For example, in your code below:
> <span class="foaf:Person" rel="rdf:li">
> some things about the person
> </span>
> which yields:
> <> rdf:li
>      [a foaf:Person; ...things about the person...]
> I'm pretty sure this is not a "best practice", but it's the work-around
> I came up with for precisely this issue, and it's not all that wrong in
> terms of semantics: after all, that *is* an item on the page.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Wednesday, 13 June 2007 13:57:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:50 UTC