SIOC/Ontology/RatingTermsSuggestion

From W3C Wiki
< SIOC‎ | Ontology

Ratings and Poll suggestions

How should we model the various ways of rating posts or other resources?

Example use cases

  • favoriting an item
  • voting on polls.
  • voting on items mechanisms as in digg, or "thumbs up" like in boardgamegeek


  • 1-5 stars


Example sites

digg

digg - bury - favorite


vBulletin

Slashdot

ebay

  • postive, neutral, negative + comment
  • 5 star rating

boardgamegeek

  • thumbs up,
  • flag potentially offensive item

youtube

  • 5 star rating for videos.
  • thumbing up and down of comments

flickr

  • favorites

del.icio.us

  • relations between users and URLs - use sioc:bookmarks ?

deviantart

  • rate item with emoticons: joy, sad, love...

wikipedia

  • votes expressed in discussion pages - e.g. "agree" "disagree" "neutral" in realtion to a suggestion

Hospitality club

testual comments on users


Suggested properties

sioc:likes

possible alternative names: pro, votes_for, appreciates, thanks, selects, agrees, favors, approves, consents, supports

a rdf:Propery;
rdf:domain sioc:User;
rdf:range sioc:Item;
owl:inverseOf rev:liked_by;
rdfs:comment "An item, that is liked by a user".

subclass this for e.g. sioc:digg

sioc:liked_by

 a rdf:Propery;
 rdf:range  sioc:User;
 rdf:domain sioc:Item;
 owl:inverseOf rev:likes;
 rdfs:comment "A User, that likes this item".

inverse properties

name suggestions: dislikes, disliked_by (con, votes_against objectsTo)

sioc:num_positive_votes

alternative names: num_appreciating, chosen, selected, agreeing, in_favor, approving, liking, consenting...

Use this for likes/votes on regular sioc:Posts and on Polls

domain: sioc:Item (or nothing at all - could it be a container too?)
range: http://www.w3.org/2001/XMLSchema#integer

num_negative_votes

(num_disapproving opposed)

num_neutral_votes

PollOption

(alternative name: PollItem)

sioc:PollOption subClassOf sioc:Post

has_polloption

domain: sioct:Poll
range: sioct:PollOption

+ use sioc:content to give text of polloption

Ratings

Reuse Danny Ayer's Review vocabulary?

problems:

  • max/min ratings mentioned in spec, but missing in RDF/XML
  • property reviewer has range foaf:Person

Example usage:

    <review:hasReview>
         <review:Review>
             <review:rating>9</review:rating>
             <dc:description>Blinding</dc:description>
             <review:reviewer>
                 <foaf:Person>
                     <foaf:name>Leigh Dodds</foaf:name>
                 </foaf:Person>
         </review:Review>
     </review:hasReview>