What is {end time} and {start time} of {{Kim Novak} has {spouse} as {Richard Johnson}}
On what dat did Kim Novak and Richard Johnson get married and divorced?
When did Kim Novak and Richard Johnson get married and when did the marriage end?
SELECT ?z ?p WHERE { ?h property:spouse resource:Richard_Johnson . ?h property:end_time ?z . resource:Kim_Novak property:spouse ?h . ?h property:start_time ?p }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q212879> . ?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/Q166422>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q212879 p:P26 ?s . ?s ps:P26 wd:Q166422 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }