What is {start time} and {end time} of {{Kim Novak} has {spouse} as {Richard Johnson}}
When did Richard Johnson divorce Kim Novak and when did they marry?
When did Kim Novak divorce Richard Johnson and when did they get married?
SELECT ?n ?f WHERE { resource:Kim_Novak property:spouse ?b . ?b property:start_time ?n . ?b property:spouse resource:Richard_Johnson . ?b property:end_time ?f }
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:P580 ?value1 . ?s pq:P582 ?value2 }