Efficient Processing Of Novel Reachability-Based Queries On Large Spatiotemporal Datasets