Efficient query recommendations in the long tail via center-piece subgraphs