Efficiently supporting ad hoc queries in large datasets of time sequences | Synapse