RDFa examples on the SW Home page

Just for the fun of it and for an info...

I have annotated the following two files in RDFa:

http://www.w3.org/2001/sw/Overview.html
http://www.w3.org/2001/sw/SW-FAQ.html

yielding

http://www.w3.org/2001/sw/Overview.rdf
http://www.w3.org/2001/sw/SW-FAQ.rdf

It was a good exercise to see how such pages can be turned into RDFa and 
generate decent RDF. Most of the times it works quite well. In some 
cases the combination of a <a> and the rules on instanceof made it a bit 
awkward to set the right coding, so I had to rely on an explicit 
rdf:type rather than the usage of instanceof:

  <a rel="org:includes" href="http://www.w3.org/2001/sw/CG/">
    <span rel="rdf:type"
          resource="[org:CoordinationGroup]"
          property="org:name">Coordination Group</span>
</a>

Indeed, I did not really find a better way of encoding

<> org:includes <http://www.w3.org/2001/sw/CG/>
<http://www.w3.org/2001/sw/CG/>
    a org:CoordinationGroup;
    org:name "Coordination Group".

Any usage of the instanceof somehow generated new bnode. I may have 
missed an obvious approach though, so tell me if I did... To be clear: 
_I do not have a problem with this_ in the sense that @instanceof is a 
suitable abbreviation and nothing more. Ie if, in some cases, an 
explicit rdf:type is used, well, that is fine with me.

Ivan


-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Sunday, 17 February 2008 10:33:42 UTC