Question: In 1673, Holy Roman Emperor Leopold I ended a relationship with which woman?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q150494 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1673')) }