Question: Who was the spouse of John Gilbert up until the beginning of 1931?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q503956 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1931')) }