what is the {end time} for {Howard Hawks} has {spouse} as {Dee Hartford} ?
When did Howard Hawks marriage to Dee Hartford end?
When did Howard Hawks marriage to Dee Hartford end?
SELECT ?r WHERE { ?e property:end_time ?r . resource:Howard_Hawks property:spouse ?e . ?e property:spouse resource:Dee_Hartford }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q51581> .
?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/Q5249911> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q51581 p:P26 ?s . ?s ps:P26 wd:Q5249911 . ?s pq:P582 ?value}