When did Keith Holyoake become the Prime Minister of New Zealand?
SELECT ?value WHERE { wd:Q637012 p:P39 ?s . ?s ps:P39 wd:Q1071117 . ?s pq:P580 ?value}
keith holyoake: Q637012 prime minister of new zealand: Q1071117