1. A method comprising: generating a graph by representing users and comments as nodes in the graph, and connecting the nodes based on relationships between the users and the comments, relationships between the comments, and relationships between the users; obtaining, by a device, a first initial score for a user and a second initial score for a comment authored by the user; calculating, by the device, a user ranking score for the user and a comment ranking score for the comment based on the first initial score for the user, the second initial score for the comment, and the relationships between the nodes in the graph, the user ranking score reflecting a reputation of the user, the comment ranking score reflecting a quality of the comment; running, by the device, iterations of a graph algorithm to determine if the user ranking score for the user and the comment ranking score for the comment authored by the user have converged based on the graph; generating, by the device and in response to determining that the user ranking score and the comment ranking score have converged, a ranked list of users, the ranked list including information identifying the user and being ordered based on both the user ranking score and the comment ranking score; and providing, by the device and for presentation, the ranked list.