Question: What position was held by Obama, and when was this position held?
Paraphrase: What role was once held by using Obama, and when was once this function held?
SPARQL (Wikidata): SELECT ?value1 ?obj WHERE { wd:Q76 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2715 ?value1 . }