Question: When did Billy Hughes held the position of Prime Minister of Australia?
Paraphrase: When the Prime Minister of Australia was Billy Hughes, what year was it?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q152666 p:P39 ?s . ?s ps:P39 wd:Q319145 . ?s pq:P580 ?value}