concept for queries with sensordata and time span