What is {club manager} of {member of team} of {Colin McDonald} ?
What's the name of Colin McDonald's club manager?
Who is the club manager for the team member known as Colin McDonald?
SELECT ?n WHERE { resource:Colin_McDonald property:member_of_sports_team ?j . ?j property:head_coach ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5145359> . ?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:Q5145359 wdt:P54 ?X . ?X wdt:P286 ?answer}
Steve Cooper Jack Ross Ray McKinnon Stewart Petrie John Brownlie Paul Sheerin Mark Roberts Billy McGhie