Dai Richards was selected to represent Great Britain at the World Triathlon Championships in New Zealand.