Question: Who were James VI and I married to on October 23rd,1589
Paraphrase: In Octover 1589 James VI and I married who?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q79972 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1589')) }