A Multi-Relational Approach to Clustering Trajectory Data