What is {club played for} of {Waisale Serevi}, that has {coach} is {Richard Cockerill} ?
Which club played for Waisale Serevi and has Richard Cockerill as the coach?
Which club played for Waisale Serevi and has Richard Cockerill as the coach?
SELECT ?s WHERE { ?s property:head_coach resource:Richard_Cockerill . resource:Waisale_Serevi property:member_of_sports_team ?s }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3565170> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P54>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P286> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3430647> . }
SELECT ?answer WHERE { wd:Q3565170 wdt:P54 ?answer . ?answer wdt:P286 wd:Q3430647}