- From: Toby Inkster <tai@g5n.co.uk>
- Date: Thu, 17 Jul 2008 10:14:42 +0100 (BST)
- To: public-rdf-in-xhtml-tf@w3.org
> Now if the @profile support for microformats could be standardized to use that @id you added as the subject, that would round out the triple generation quite nicely... I've reproduced the final example in the article here: http://examples.tobyinkster.co.uk/hcard-rdfa.html Submitting that to Cognition's <http://buzzword.org.uk/cognition/> web service yields the following RDF/XML: <?xml version="1.0"?> <rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/" xmlns:vcard="urn:ietf:rfc:2426#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:ex="http://example.net/people#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:hcterms="http://purl.org/uF/hCard/terms/" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <dcmitype:Text rdf:about="http://examples.tobyinkster.co.uk/hcard-rdfa.html"> <dcterms:hasPart> <rdf:Description rdf:nodeID="Section1"> <dcterms:title>My Document</dcterms:title> <dcterms:hasPart> <rdf:Description rdf:nodeID="Section2"> <dcterms:title>Toby Inkster</dcterms:title> </rdf:Description> </dcterms:hasPart> </rdf:Description> </dcterms:hasPart> <foaf:maker rdf:resource="http://examples.tobyinkster.co.uk/hcard-rdfa.html#hcard_toby" /> <dcterms:identifier rdf:resource="http://examples.tobyinkster.co.uk/hcard-rdfa.html" /> <dcterms:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> <hcterms:representative rdf:resource="http://examples.tobyinkster.co.uk/hcard-rdfa.html#hcard_toby" /> <xhv:author rdf:resource="http://examples.tobyinkster.co.uk/hcard-rdfa.html#hcard_toby" /> </dcmitype:Text> <vcard:Vcard rdf:about="http://examples.tobyinkster.co.uk/hcard-rdfa.html#hcard_toby"> <vcard:n> <vcard:Name rdf:nodeID="ContactName1"> <vcard:family-name>Inkster</vcard:family-name> <rdfs:label>Toby Inkster</rdfs:label> <rdf:value>Inkster;Toby</rdf:value> <vcard:given-name>Toby</vcard:given-name> </vcard:Name> </vcard:n> <foaf:made rdf:resource="http://examples.tobyinkster.co.uk/hcard-rdfa.html" /> <dcterms:identifier rdf:resource="http://examples.tobyinkster.co.uk/hcard-rdfa.html#hcard_toby" /> <vcard:bday> <dcterms:W3CDTF> <rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1980-06-01</rdf:value> </dcterms:W3CDTF> </vcard:bday> <ex:shoes>10</ex:shoes> <vcard:kind>individual</vcard:kind> <vcard:fn>Toby Inkster</vcard:fn> <ex:height>1.75</ex:height> </vcard:Vcard> </rdf:RDF>
Received on Thursday, 17 July 2008 09:17:07 UTC