RDFa serializer?

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 UTC