Enabled sensorid as input to query data