Question: What was Gregory Peck nominated for at the 18th Academy Awards?
Paraphrase: Which was the nomination that Gregory Peck got at the 18th Academy Awards?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q108366 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P805 wd:Q917178 }