Text this: Multi−Query Optimization for Sensor Networks