The updated Microdata to RDF SWIG Note was published today [1]. Diff from previous is at [2].
Gregg Kellogg
gregg@greggkellogg.net<mailto:gregg@greggkellogg.net>
[1] http://www.w3.org/TR/2012/NOTE-microdata-rdf-20121009/
[2] http://www.w3.org/TR/2012/NOTE-microdata-rdf-20121009/diff-20120308.html
On Oct 4, 2012, at 12:36 AM, Dan Brickley <danbri@danbri.org<mailto:danbri@danbri.org>> wrote:
On 3 October 2012 22:47, Gregg Kellogg <gregg@greggkellogg.net<mailto:gregg@greggkellogg.net>> wrote:
I've updated the spec [7] with Adrian's recommended example (13) using additionalType which includes a property from the namespace of the additional type (foaf:Person/foaf:mbox). I think we're good to go on publishing the note.
{
"http://schema.org/": {
"properties": {
"additionalType": {"subPropertyOf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"}
}
}
<div itemscope itemtype="http://schema.org/Person">
<link itemprop="additionalType" href="http://xmlns.com/foaf/0.1/Person"/>
<a itemprop="email http://xmlns.com/foaf/0.1/mbox" href="mailto:mail@gmail.com">
mail@gmail.com<mailto:mail@gmail.com>
</a>
</div>
creates
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix md: <http://www.w3.org/ns/md#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfa: <http://www.w3.org/ns/rdfa#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
<> md:item (
[ a schema:Person;
schema:additionalType foaf:Person;
schema:email <mailto:mail@gmail.com>;
foaf:mbox <mailto:mail@gmail.com>]);
rdfa:usesVocabulary schema: .
schema:additionalType rdfs:subPropertyOf rdf:type .
Dan, if you can give your blessing (at SWIG chair), we can probably get it published next week.
Please do. Thanks for all your work on this.
Dan
Gregg Kellogg
gregg@greggkellogg.net<mailto:gregg@greggkellogg.net>
[7] http://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html