which races has the horse bred by william cavendish participated in ?
SELECT DISTINCT var_uri where brack_open var_x dbo_breeder dbr_William_Cavendish,_2nd_Duke_of_Devonshire sep_dot var_x dbp_race var_uri sep_dot var_x a dbo_Horse brack_close