Question: what position did muammar al-gaddafi hold in 2010-1-31?
Paraphrase: What position did Muammar Al-Gaddafi have in 2010?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q19878 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'2010')) }