Review

From getSchema
Jump to: navigation, search

Name:
URL:

Supertypes

Subtypes

All Properties

Own Properties



This Page Semantic Annotations



Contents

Description

A review of a Thing - it can be about everything such as Restaurant, Book, Movie, Store, Painting, Photograph, Recipe, ...


A Review is a CreativeWork subtype therefore it inherits a lot of properties from this type. Therefore a Review can be a very complex content. Below we show simple scenarios. Would you have interest to do more complex work you can start contribute or open a discussion.

Examples

Using RDFa 1.1 Lite

Food experts post reviews

As a food expert you may want to post a review about a restaurant you visited. Bob visited Roots Restaurant in San Francisco and wrote this review on some review site:

Roots, located in the Orchard Garden Hotel lobby, 
offer local and organic meals only. The lobby has a 
LEED certification on the wall, so I asked our 
server about it, being that I am a LEED-AP. 
The waitress was very well informed about the 
sustainable practices of the hotel and about the 
Organic dishes being served. For this alone, 
I will come back. The wine list was impressive, 
the halibut was great, and I love 
the heirloom tomato salad. 

Here is the RDFa 1.1 Lite annotated markup:

<div vocab="http://schema.org/" typeof="Review">
  <div property="reviewBody">
    <div property="itemReviewed">
      <span typeof="Restaurant">
        <a href="http://www.therootsrestaurant.com" property="url">Roots</a>, 
        located in the Orchard Garden Hotel lobby, offer local and 
        <span property="servesCuisine">"organic</span> meals only. 
        The lobby has a LEED certification on the wall, so I asked our server about it, being 
        that I am a LEED-AP. The waitress was very well informed about the sustainable practices 
        of the hotel and about the Organic dishes being served. For this alone, 
        I will come back. The wine list was impressive, the halibut was great, and I love 
        the heirloom tomato salad.   
      </span> 
    </div>
    <div property="reviewRating">
      <span typeof="Rating">
        My rating <span property="ratingValue">4</span> stars.
      </span>
    </div>
  </div>
</div>


Readers do book reviews

<div vocab="http://schema.org/" typeOf="Review">
  <span property="name">book review - Around the World in Eighty Days </span> - by 
  <span property="author">
    <span typeOf="Organization">
      <a href="http://insidebooks.blogspot.com/2007/08/book-of-books-around-world.html"
        property="url">
        Inside Books
      </a>
    </span>
  </span>,
  <span property="datePublished" content="2007-08-26">Sunday, August 26, 2007</span>
  <div property="reviewRating">
    <span typeOf="Rating">
      <span property="ratingValue">5</span>/
      <span property="bestRating">5</span>stars
    </span>
  </div>
  <div property="itemReviewed">
     <span typeOf="Book">
       <a href="http://en.wikipedia.org/wiki/Around_the_World_in_Eighty_Days" 
         property="url">
       Around the World in Eighty Days
       </a>
     </span>
  </div>
  <div property="description">
   is a great book and comes from a writer with a solid canon of pacey adventure 
   stories. But what you miss in the film and cartoon versions is the sheer scale of 
   the effort of Jules Verne’s vision. He must have sat there with maps, guide books 
   and numerous steamer and train timetables to be able not only to map the journey 
   round the world but also factor in the numerous diversions that Phileas Fogg and 
   company have to take.
  </div>
</div>

Using Microdata

The same review can be annotated using Microdata as below(you can post it on your blog). Notice that the above markup is from perspective of a publisher discussing a Thing. Schema.org example of Review shows markup in the context of the object to be reviewed (a product review on its own page).

<div intemscope itemtype="http://schema.org/Review">
  <div itemprop="reviewBody">
  <div itemprop="itemReviewed">
    <span itemscope itemtype="http://schema.org/Restaurant">
      <a href="http://www.therootsrestaurant.com" itemprop="url">Roots</a>, 
      located in the Orchard Garden Hotel lobby, offer local and 
      <span itemprop="servesCuisine">"organic</span> meals only. 
      The lobby has a LEED certification on the wall, so I asked our server about it, being 
      that I am a LEED-AP. The waitress was very well informed about the sustainable practices 
      of the hotel and about the Organic dishes being served. For this alone, 
      I will come back. The wine list was impressive, the halibut was great, and I love 
      the heirloom tomato salad. 
    </span>
  </div>
  <div itemprop="reviewRating">
    <span itemscope itemtype="http://schema.org/Rating">
      My rating <span itemprop="ratingValue">4</span> stars.
    </span>
  </div>
  </div>
</div>


Readers do book reviews

<div itemscope itemtype="http://schema.org/Review">
  <span itemprop="name">book review - Around the World in Eighty Days </span> - by 
  <span itemprop="author">
    <span itemscope itemtype="http://schema.org/Organization">
      <a href="http://insidebooks.blogspot.com/2007/08/book-of-books-around-world.html"
        itemprop="url">
        Inside Books
      </a>
    </span>
  </span>,
  <span itemprop="datePublished" content="2007-08-26">Sunday, August 26, 2007</span>
  <div itemprop="reviewRating">
    <span itemscope itemtype="http://schema.org/Rating">
      <span itemprop="ratingValue">5</span>/
      <span itemprop="bestRating">5</span>stars
    </span>
  </div>
  <div itemprop="description">
   <span itemprop="itemReviewed">
     <span itemscope itemtype="http://schema.org/Book">
       <a href="http://en.wikipedia.org/wiki/Around_the_World_in_Eighty_Days" 
         itemprop="url">
       Around the World in Eighty Days
       </a>
     </span>
    </span>
   is a great book and comes from a writer with a solid canon of pacey adventure 
   stories. But what you miss in the film and cartoon versions is the sheer scale of 
   the effort of Jules Verne’s vision. He must have sat there with maps, guide books 
   and numerous steamer and train timetables to be able not only to map the journey 
   round the world but also factor in the numerous diversions that Phileas Fogg and 
   company have to take.
  </div>
</div>

Using Microformats and Schema.org vocabulary

Testimonials on [1] are annotated using Microformats basically using the hReview specification.

The below markup is showing one of the testimonials:

<div class="hreview">
  <div style="float: left; margin-right: 10px;">
    <img src="../images/feedback/knutsen.jpg" alt="Knutsen Golf Party" 
      class="photo" width="200" height="150">
  </div>
 <h3 class="reviewer vcard">
  <span class="fn">Mr Per Knutsen</span> &amp; friends, Norway - 
  <abbr class="dtreviewed" title="201010">October 2010</abbr>
 </h3>
 <abbr style="display: none;" class="rating" title="5">*****</abbr>
 <div class="description">
  <p>We were very pleased with everything on our trip to Scotland that you arranged for us. 
     This has undoubtedly been the trip that has given us the greatest golf experience. All you 
     had laid out for us worked very well which meant that we could spend all our time and 
     energy to enjoy ourselves with golf and enjoy a pleasant and hospitable Scotland. We have 
     played golf in many countries in Europe: Norway, Sweden, Denmark, Portugal, Spain, 
    (includes Mallorca), France and now Scotland. It is clear that this will not be our 
    last trip to Scotland. :-)
  </p>
 </div>
 <div class="item vcard" style="display: none;">
   <span class="fn org">Golf Made Simple In Scotland</span>, 
   <span class="tel">07870 410607</span>, 
   <span class="adr">
     <span class="street-address">3 Bowman Road</span>, 
     <span class="locality">Ayr</span>, 
     <span class="postal-code">KA7 2RF</span>, 
     <span class="country-name">Scotland</span></span>
 </div>
 <div class="clear"></div>
</div>

Below you can see our proposal using Microformats and Schema.org vocabulary. Notice that it assumes a mapping between existent hReview and vCard:

<div class="http://schema.org/Review">
  <div style="float: left; margin-right: 10px;">
    <img class="image" src="../images/feedback/knutsen.jpg" alt="Knutsen Golf Party" 
      width="200" height="150"/>
  </div>
 <h3> 
  <span class ="author http://schema.org/Person">
   <span class="name">Mr Per Knutsen</span> &amp; friends, Norway - 
  </span>
   <meta class="datePublished" content="2010-10"/>
   October 2010
 </h3>
 <span class="reviewRating http://schema.org/Rating">
  <span class="bestRating">5</span>stars
 </span>
 <div class="reviewBody">
  <p>We were very pleased with everything on our trip to Scotland that you arranged for us. 
     This has undoubtedly been the trip that has given us the greatest golf experience. All you 
     had laid out for us worked very well which meant that we could spend all our time and 
     energy to enjoy ourselves with golf and enjoy a pleasant and hospitable Scotland. We have 
     played golf in many countries in Europe: Norway, Sweden, Denmark, Portugal, Spain, 
    (includes Mallorca), France and now Scotland. It is clear that this will not be our 
    last trip to Scotland. :-)
  </p>
 </div>
 <div class="itemReviewed http://schema.org/Organization">
   <div class="name">Golf Made Simple in Scotland</div>, 
   <div class="telephone">07870 410607</div>, 
   <div class="address http://schema.org/PostalAddress">
     <span class="streetAddress">3 Bowman Road</span>, 
     <span class="addressLocality">Ayr</span>, 
     <span class="postalCode">KA7 2RF</span>, 
     <span class="addressRegion">Scotland</span>
   </div>
 </div>
 <div class="clear"></div>
</div>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox