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

RDFa serializer?

From: Dan Brickley <danbri@danbri.org>
Date: Sat, 25 Aug 2007 10:27:38 +0100
Message-ID: <46CFF60A.7080306@danbri.org>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>


Anyone started on a graph-to-RDFa serializer? I acknowledge that it 
might - depending on input - create an ugly splodge instead of a nice 
HTML page. But that could be a better basis for beautifying than 
starting from scratch, particularly for those new to RDFa. Or those who 
are sketchy on the current detail of the spec (eg. me :)

OK, well what I'm thinking of is: http://xmlns.com/foaf/spec/index.rdf

Can we take a quick(?) example...

  <rdf:Property rdf:about="http://xmlns.com/foaf/0.1/openid" 
vs:term_status="unstable" rdfs:label="openid" rdfs:comment="An OpenID
for an Agent.">
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
     <rdfs:subPropertyOf 
rdf:resource="http://xmlns.com/foaf/0.1/isPrimaryTopicOf"/>
     <rdf:type 
rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
     <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
     <rdfs:range rdf:resource="http://xmlns.com/foaf/0.1/Document"/>
     <rdfs:isDefinedBy rdf:resource="http://xmlns.com/foaf/0.1/"/>
</rdf:Property>


How should this look "ideally" in RDFa, to make nice HTML? How close 
could an automatic serializer get to that?


thanks for any help,

Dan
Received on Saturday, 25 August 2007 09:27:47 GMT

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