Question: Who was the spouse of Millard Fillmore in the year 1858?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q12306 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1858')) }