Adding query method for filter research results by demographic variables