Yes, the Shimano Tiagra CS-HG500 10-speed cassette is compatible with the Shimano WH-R501 wheelset. The WH-R501 wheelset supports 10-speed cassettes and the CS-HG500-10 is a 10-speed cassette from the Shimano HG500 groupset. As both components come from Shimano and were developed for the 10-speed range, they are compatible with each other.