Question: How long was Shirley Temple the United States Ambassador to Ghana?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q182580 p:P39 ?s . ?s ps:P39 wd:Q7889302 . ?s pq:P582 ?value}