GNNRank: Learning Global Rankings from Pairwise Comparisons via Directed Graph Neural Networks