What is {start time} and {end time} of {{Ruhollah Khomeini} has {spouse} as {Khadijeh Saqafi}}
How long where Ruhollah Khomeini and Khadijeh Saqafi married in years?
Mention the year span in which Ruhollah Khomeini married and lasted with Khadijeh Saqafi
SELECT ?n ?o WHERE { ?f property:start_time ?n . ?f property:end_time ?o . resource:Ruhollah_Khomeini property:spouse ?f . ?f property:spouse resource:Khadijeh_Saqafi }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q38823> . ?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/Q686560>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q38823 p:P26 ?s . ?s ps:P26 wd:Q686560 . ?s pq:P580 ?value1 . ?s pq:P582 ?value2 }