sample queries using mapReduce