W3C home > Mailing lists > Public > public-vocabs@w3.org > February 2012

Re: Multiple Ratings in one Review

From: Aaron Bradley <aaranged@yahoo.com>
Date: Mon, 20 Feb 2012 10:23:10 -0800 (PST)
Message-ID: <1329762190.45843.YahooMailNeo@web161001.mail.bf1.yahoo.com>
To: Scott Brandley <scottbrandley@gmail.com>, "public-vocabs@w3.org" <public-vocabs@w3.org>
I face a very similar situation, so your query is well-timed!
One approach this is to markup each user review separately using Review, and then use an average of the three reviews (considering the three topics covered by a review to be "one" review, as they're for the same object by the same author) when expressing the overall review count and rating for AggregateRating.

Review 1a:
Customer Service Satisfaction - 4/5
Review 1b:
Pricing Satisfaction - 5/5
Review 1c:
Delivery Time Satisfaction - 3/5
(Review average rating: 4)

Review 2a:
Customer Service Satisfaction - 1/5
Review 2b:
Pricing Satisfaction - 2/5
Review 2c:
Delivery Time Satisfaction - 2/5
(Review average rating: 1.67)

ReviewAggregate:
<div itemprop="aggregateRating" itemscope
itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">2.8</span> stars -
based on <span itemprop="reviewCount">2</span> reviews</div>

... with ratingValue 2.8 being the average of Review 1 + average of Review 2.

Does this seem reasonable?

Aaron Bradley



>________________________________
> From: Scott Brandley <scottbrandley@gmail.com>
>To: public-vocabs@w3.org 
>Sent: Friday, February 17, 2012 9:23:21 AM
>Subject: Multiple Ratings in one Review
> 
>Good Afternoon,
>
>I'm wondering the best way to break out multiple ratings in one review.
>
>For example...
>
>John Doe buys something from ACME Corp and is asked leave a review and provide some ratings.  This is his reply:
>
>----------
>
>"ACME Corp was a pleasure to work with, although delivery took a bit longer than I expected."
>
>Customer Service Satisfaction - 4/5
>Pricing Satisfaction - 5/5
>Delivery Time Satisfaction - 3/5
>
>-----------
>
>I'm not sure the best way to write this.  In the examples on schema.org it only shows single rating options.
>
>Any suggestions would be greatly appreciated?
>
>Scott
>
>
>
>
>
Received on Monday, 20 February 2012 18:23:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:48:59 GMT