modified query for simrank to take userid + itemid