What is {end time} and {start time} of {{Barbara Walters} has {spouse} as {Lee Guber}}
When did Barbara Walters marry and divorce Lee Guber
When is {end time} and {start time} of {{Barbara Walters} {spouse} as {Lee Guber}}
SELECT ?h ?q WHERE { ?j property:start_time ?q . resource:Barbara_Walters property:spouse ?j . ?j property:spouse resource:Lee_Guber . ?j property:end_time ?h }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q231417> . ?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/Q6513735>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q231417 p:P26 ?s . ?s ps:P26 wd:Q6513735 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }