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

Re: Understanding 'chaining'

From: Mark Birbeck <mark.birbeck@formsPlayer.com>
Date: Sun, 2 Dec 2007 16:06:02 +0000
Message-ID: <a707f8300712020806g51f63231od80687734d2a89ec@mail.gmail.com>
To: "Ben Adida" <ben@adida.net>
Cc: public-rdf-in-xhtml-tf@w3.org

Hi Ben,

> ...as I was writing some RDFa for Creative Commons, and found myself
> with exactly the issue Mark describes as:
>
> > the following does not do anything useful:
> >
> >   <div about="#me" rel="foaf:knows">
> >     <span about="#mark" property="foaf:lastname>Birbeck</span>
> >   </div>
>
> which really sucks. Clearly the above needs to mean what Mark's proposal
> makes it mean: that the @rel is hooked onto the @about, and that all is
> well as a result.

I think it's reassuring that real use-cases are helping us resolve
these issues. In your case it's CC, and I saw one the other day that
uses OWL:

 <http://ontologyonline.blogspot.com/2007/11/embedding-owl-rdfs-syntax-in-xhtml-with.html>

The author uses RDFa to write OWL, and whilst I wouldn't recommend the
post to new readers trying to learn RDFa ;) it's a very impressive
article, and shows that RDFa 'works' at all sorts of levels of
complexity.

One 'pattern' that gets used a lot by the author--due to the nature of
OWL itself--is this:

 <div rel='rdfs:SubclassOf'>
   <div rel='owl:Restriction'>
     <span property='owl:onProperty'>develops_from</span>
     <a rel='owl:someValuesFrom' href='c/CellTypeOntology/immature_B_cell'>
       immature B cell
     </a>
   </div>
 </div>

As we know, this already works in the rules we have, but as you can
see--following on from your comment--if an @about were to be placed in
the hierarchy, with the intention of 'naming' one of the previously
unnamed OWL classes, the current rules mean that the whole structure
would collapse:

 <div rel='rdfs:SubclassOf'>
   <div about="somename" rel='owl:Restriction'>
     <span property='owl:onProperty'>develops_from</span>
     <a rel='owl:someValuesFrom' href='c/CellTypeOntology/immature_B_cell'>
       immature B cell
     </a>
   </div>
 </div>

Regards,

Mark

-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@formsPlayer.com | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.
Received on Sunday, 2 December 2007 16:19:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:19 GMT