add sample query for rating