What is {end time} and {place of marriage} of {{Marilyn Monroe} has {spouse} as {Joe DiMaggio}}
When and where did Marilyn Monroe marry Joe DiMaggio?
Name the year and the place on which Marilyn Monroe married to Joe DiMaggio
SELECT ?m ?x WHERE { ?q property:spouse resource:Joe_DiMaggio . resource:Marilyn_Monroe property:spouse ?q . ?q property:place_of_marriage ?x . ?q property:end_time ?m }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4616> . ?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> <http://wikidata.dbpedia.org/resource/Q297142>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q4616 p:P26 ?s . ?s ps:P26 wd:Q297142 . ?s pq:P582 ?value1 . ?s pq:P2842 ?value2 }