Question: What medals did Michael Phelps win in the 2012 Summer Olympics?
Paraphrase: During 2012 Summer Olympics, what medals did Michael Phelps received?.
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q39562 p:P1344 ?s . ?s ps:P1344 wd:Q8577 . ?s pq:P166 ?value}