What is {spouse} of {Rudolph Valentino} and {end time}
Who was the wife of Rudolph Valentino and when did the marriage end?
Who was the spouse of Rudolph Valentino and when did they divorce?
SELECT ?z ?p WHERE { resource:Rudolph_Valentino property:spouse ?i . ?i property:spouse ?p . ?i property:end_time ?z . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q188692> . ?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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q188692 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?value1 . }