Statistics for Analytical queries on semantic trajectories using graph databases