Multi variable query

Extend MapReduce to support several variable query