Probabilistic Querying of Continuous-Time Event Sequences