Large scale data sampling & optimized query & evaluation