- From: Martin Hepp <mfhepp@gmail.com>
- Date: Sun, 19 Jul 2015 22:21:14 +0200
- To: Jindřich Mynarz <mynarzjindrich@gmail.com>
- Cc: "schema.org Mailing List" <public-schemaorg@w3.org>
- Message-ID: <CAE+23ugbDiGfyPQWjNN1ZCbEuu8B4W+WmjMTJsZsWYvzfuQtkg@mail.gmail.com>
schema:offers has been in schema.org, afaik, since the very first release, and other than in GoodRelations, it was used to link from a product to its offer or offers. In GoodRelations, gr:offers had a different meaning and linked from an agent to an offer. If you want to link from the offer to the items included in the offer, there is schema:itemOffered for a single product (same as gr:includes) and schema:includesObject for a bundle. CreativeWork <http://schema.org/CreativeWork> and Event <http://schema.org/Event> are just two types that are actually specializations of schema:Product, but since we do not want to put every type that could also be used in offers below schema:Product, they are listed explicitly in the range/domain. Hope that helps. Martin PS: The reason why the Internet Archive does not help is that the property-specific pages were introduced quite some time after the first release of schema.org. On Sun, Jul 19, 2015 at 4:56 PM, Jindřich Mynarz <mynarzjindrich@gmail.com> wrote: > Hi, > > the domain of the <http://schema.org/offers> property is defined as > including schema:AggregateOffer, schema:CreativeWork, schema:Event, and > schema:Product; while its range is schema:Offer. Given the local name > "offers" (and not, let's say "offeredBy"), shouldn't the domain and the > range of this property be inverted? For example, > schema:Offer=>schema:offers=>schema:Product looks more natural than the > current schema:Product=>schema:offers=>schema:Offer. > > I suspect there's a simple reason, why schema:offers is defined (or > labelled) this way. I tried finding the reason by using Schema.org's commit > history, but I discovered the property was always (since the project moved > to Gihub) defined this way ( > https://github.com/schemaorg/schemaorg/blob/4bf8dda0a6802850ef6e5ff34061fe0ee4584317/schema.rdfa#L7010-L7014). > Similarly, the Internet Archive also doesn't reveal anything from the > history of this property ( > https://web.archive.org/web/20130515000000*/http://schema.org/offers). > > Can someone explain why schema:offers is defined and labelled in this way? > > Thanks, > > Jindřich > > -- > Jindřich Mynarz > http://mynarz.net/#jindrich > -- ------------------------------------------ martin hepp, http://www.heppnetz.de
Received on Sunday, 19 July 2015 20:21:43 UTC