W3C home > Mailing lists > Public > public-vocabs@w3.org > October 2013

Re: CreativeWork can't be a Product?

From: Dan Scott <dan@coffeecode.net>
Date: Mon, 7 Oct 2013 16:37:48 -0400
To: Chilly Bang <chilly_bang@yahoo.de>
Cc: public-vocabs@w3.org
Message-ID: <20131007203747.GD20978@denials>
On Mon, Oct 07, 2013 at 09:16:01PM +0100, Chilly Bang wrote:
>Hello!
>
>i'm busy at the moment with marking up with microdata of an online bookstore and realized the following dilemma:
>if a page is about describing and selling of a CreativeWork/Book, so i come to selling properties with itemprop="offers" itemscope="" itemtype="http://schema.org/Offer". But on this way i can't describe the book i sell like Product, with product's properties - i can't find any passage from CreativeWork to Product. There is in fact a passage from Offer to Product, with itemprop="itemOffered" itemscope="" itemtype="http://schema.org/Product", but repeating isn't a good way, beside of this it isn't easy to get such passage into html, even with itemref.
>
>I see no possibility to go the way CreativeWork->Product->Offer (or CreativeWork->Product and CreativeWork->Offer), but only CreativeWork->Offer, or Product->Offer. CreativeWork can't be a Product or am i wrong?
>
>Imho CreativeWork surely can own product's properties so it must gladly have a passage from any CreativeWork property to Product.

You can just use both types in the itemtype declaration, for example,
itemtype="Book Product".

We're doing this in the #schemabibex group to express offers for a given
item. And Martin gave a wonderful example of this approach on this list
just a few days back at
http://lists.w3.org/Archives/Public/public-vocabs/2013Sep/0206.html
Received on Monday, 7 October 2013 20:38:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:32 UTC