What is {start time} and {end time} of {{Katharine Hepburn} has {spouse} as {Ludlow Ogden Smith}}
In what year was Katharine Hepburn married to Ludlow Ogden Smith and what year were they divorced?
When did Katharine Hepburn marry Ludlow Ogden Smith and when did they divorce
SELECT ?b ?n WHERE { resource:Katharine_Hepburn property:spouse ?u . ?u property:end_time ?n . ?u property:spouse resource:Ludlow_Ogden_Smith . ?u property:start_time ?b }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q56016> . ?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/Q22326909>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q56016 p:P26 ?s . ?s ps:P26 wd:Q22326909 . ?s pq:P580 ?value1 . ?s pq:P582 ?value2 }