Re: sdo 3.1 - Offering a Room

simply use TWO schema.org types for the object of thr offer in the markup. search for MTE (multi-typed entity) in the discussions. so the hotel room will be both a HotelRoom and a Product at the instance level (instead of at the vocab level). we chose that design bc MTEs are important for thr future expansion of schema.org, and having this as the default pattern for this important new segment will be a good lever for proper support od MTEs in the production systems of major consumers of schema.org markup. 
martin

---------------------------------------
martin hepp
www:  http://www.heppnetz.de/
email: mhepp@computer.org


> Am 18.08.2016 um 15:47 schrieb Elias Kaerle <elias.kaerle@sti2.at>:
> 
> Hi,
> 
> can someone tell me how a hotel can describe room offers in the newly
> announced schema.org version 3.1?
> 
> Hotel has a property makesOffer, but the itemOffered of Offer requires
> either Product or Service. HotelRoom, Room or Accomodation is neither
> (in the first version of the recommendation, Accomodation was a subclass
> of Product and Place).
> 
> The example in the documentation [1] seems outdated, because there the
> Offer is made directly inside the HotelRoom, which is no longer possible.
> 
> In a discussion [2] Martin Hepp agrees on "drop the supertype and
> instead expand the domain of itemOffered and typeOfGood" but this seems
> not to have happen (as in [3]).
> 
> Thanks for you help,
> best, Elias Kärle
> 
> 
> [1] http://schema.org/docs/hotels.html
> [2] https://github.com/schemaorg/schemaorg/issues/915#issuecomment-197456876
> [3] http://sdo-hotels.appspot.com/itemOffered
> 
> -- 
> Elias Kärle, MSc
> Semantic Technology Institute
> University of Innsbruck
> 
> ICT - Technologie Park Innsbruck
> 2nd Floor, Room 3S02
> Technikerstrasse, 21a
> 6020 Innsbruck
> Austria
> 
> Tel.: (+43) 512 507 53738
> Skype: elias.kaerle
> 

Received on Thursday, 18 August 2016 20:28:47 UTC