What is {prime minister} of {admin HQ} of {International Ice Hockey Federation} ?
Who is prime minister of IIHF HQ?
Who is the prime minister at admin HQ of the International Ice Hockey Federation?
SELECT ?p WHERE { ?c property:head_of_government ?p . resource:International_Ice_Hockey_Federation property:headquarters_location ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q190173> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159>. ?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/P6> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q190173 wdt:P159 ?X . ?X wdt:P6 ?answer}
Corine Mauch