Support for timeline queries