What is {leader} of {political party} of {Robert Borrie} ?
WHO IS THE POLITICAL Pioneer OF ROBERT BORRIE?
WHO IS THE POLITICAL LEADER OF ROBERT BORRIE?
SELECT ?q WHERE { resource:Robert_Borrie property:member_of_political_party ?o . ?o property:chairperson ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7342220> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102>. ?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/P488> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q7342220 wdt:P102 ?X . ?X wdt:P488 ?answer}
Justin Trudeau