For example , Qg5 means `` queen moves to the g-file and 5th rank '' ( that is , to the square g5 ) . For example , Qg5 means `` queen moves to the g-file and 5th rank ( that is , to the square g5 ) .