Question: What was the position held by Mary II of England in the year 1689?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q130812 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1689')) }