Using Stupidity for Good

Question: Is there a correlation between the quality of an internet posting and its associated comments? I.e. can the vitriol, stupidity, and hate found in anonymous comment sections of the internet be found to have an inverse relationship with the quality, intellect, or veracity of the target material?

Simply put: do stupid articles attract stupid people?

If so (as I presume there is some relationship…) can this be reverse engineered to “crowd-source,” in a sense, the best ideas on the internet? Search engine algorithms could theoretically judge intellect based on online postings … could this result in an easy way to find the best of humanity’s ideas online?