fixed bug: rewritten ratingResults methods in article and job in java instead of sql