Question: To whome did Anna Jagiellon get married to and where were they married?
Paraphrase: To whome did Anna Jagiellon get married to and the place have been they married?
SPARQL (Wikidata): SELECT ?value1 ?obj WHERE { wd:Q233989 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P2842 ?value1 . }