In 1673, Holy Roman Emperor Leopold I ended a relationship with which woman?
SELECT ?obj WHERE { wd:/Leopold I, Holy Roman Emperor/ p:/spouse/ ?s . ?s ps:/spouse/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1673')) }