What is {first minister} of {mediatised to} of {Presidency of Salvador Allende} ?
WHO IS THE FIRST PRIME MINISTER MEDIATISED TO THE PRESIDENCY OF SALVADOR ALLENDE
WHO IS THE FIRST PRIME MINISTER MEDIATISED TO THE PRESIDENCY OF SALVADOR ALLENDE
SELECT ?q WHERE { resource:Presidency_of_Salvador_Allende property:replaced_by ?t . ?t property:head_of_government ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5881961> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1366>. ?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:Q5881961 wdt:P1366 ?X . ?X wdt:P6 ?answer}
José Toribio Merino