which races has the horse bred by edward stanley participated in ?
SELECT DISTINCT var_uri where brack_open var_x dbo_breeder dbr_Edward_Stanley,_17th_Earl_of_Derby sep_dot var_x dbp_race var_uri sep_dot var_x a dbo_Horse brack_close