What is {coached by} of {teams played for} of {Allen Tankard} ?
What is the coached by of the groups played for of Allen Mug ?
What is the coached by of the teams played for of Allen Tankard ?
SELECT ?g WHERE { ?r property:head_coach ?g . resource:Allen_Tankard property:member_of_sports_team ?r }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4731896> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?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> ?answer . }
SELECT ?answer WHERE { wd:Q4731896 wdt:P54 ?X . ?X wdt:P286 ?answer}
Steve Evans Ralph Hasenhüttl Leam Richardson Michael Brown