initial work towards historical sensor querying