Re: Blank nodes & classes

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