On the semantics of similarity in deep trajectory representations