SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/grandsire> <http://dbpedia.org/resource/Wild_Risk> . ?x <http://dbpedia.org/property/race> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/RaceHorse>}
Race horses whose grandsire is Wild Risk have taken part in which races?
SELECT DISTINCT ?p WHERE { ?s rdf:type ontology:Race_Horse . ?s property:race ?p . ?s property:grandsire resource:Wild_Risk }
Cheltenham Gold Cup, Scottish Champion Hurdle, King George VI Chase, Coral.ie Hurdle, Irish Champion Hurdle, John Durkan Memorial Punchestown Chase, Ryanair Gold Cup, Grey Stakes, Coronation Futurity Stakes, Cup and Saucer Stakes, Summer Stakes (Canada)
The races of the horses with grandsire Wild Risk are [Cheltenham Gold Cup, Scottish Champion Hurdle, King George VI Chase, Coral.ie Hurdle, Irish Champion Hurdle, John Durkan Memorial Punchestown Chase, Ryanair Gold Cup, Grey Stakes, Coronation Futurity Stakes, Cup and Saucer Stakes, Summer Stakes (Canada)].
Horses with Grandfather Wild Risk [Chelsea Gold Cup, Scottish Champion Hurdle, King George VI Chase, Coral.ie Hurdle, Irish Champion Hurdle, John Durant Memorial Punchelown Chase, Ryanair Gold Cup, Grey Stakes, Coronation Futures Stakes, Cup and Sucer Stakes, Summer Stakes (Canada)].