What is {spouse} of {Anna Jagiellon} and {place of marriage}
To whome did Anna Jagiellon get married to and the place have been they married?
To whome did Anna Jagiellon get married to and where were they married?
SELECT ?d ?u WHERE { ?r property:place_of_marriage ?d . . resource:Anna_Jagiellon property:spouse ?r . ?r property:spouse ?u }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q233989> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q233989 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P2842 ?value1 . }