The present invention is a computer-implemented method of online opinion for filtering of poll respondents by demographic and credibility attributes, the method comprising steps of providing a plurality of questions by a plurality of questioners, wherein each the questions are assigned a topic; receiving a plurality of answers by a plurality of respondents, wherein each the respondents has different level of expertise in the topic; receiving a plurality of votes for the answers by the respondents; receiving a plurality of reasons for the answers or the votes by the respondents; storing a demographic profile data of the respondent at a time of response to the question, vote or provide reason; analyzing related data for the questioners and the responders; providing an answer with most votes out of all respondents, all ranked answers, all ranked reasons for each the answers; filtering the answers based on demographic settings and credibility of the respondent, wherein the filtering step comprises of creating a temporary table to estimate the data size of each of a demo filter value by a database statistic to keep data size small for high performance filtering; executing in a loop row by row for every row in the temporary table by an iterative approach to minimize work-in-progress data size and memory requirement, resulting in higher performance, and ranking the answers, wherein the ranking is by highest number of votes within the filtered set of respondents.
展开▼