- From: Dan Brickley <danbri@danbri.org>
- Date: Wed, 3 Oct 2012 23:36:36 +0100
- To: Gregg Kellogg <gregg@greggkellogg.net>
- Cc: Gregg Kellogg <greggkellogg@gmail.com>, Adrian Giurca <giurca@tu-cottbus.de>, Semantic Web <semantic-web@w3.org>, "public-html-data-tf@w3.org WG" <public-html-data-tf@w3.org>, "public-vocabs@w3.org Vocabularies" <public-vocabs@w3.org>
On 3 October 2012 22:47, Gregg Kellogg <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
> </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
>
> [7] http://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html
Received on Wednesday, 3 October 2012 22:37:04 UTC