What is {end time} and {start time} of {{Simon Rattle} has {spouse} as {Candace Allen}}
Between what years were Simon Rattle and Candace Allen married?
How long were Simon Rattle and Candace Allen married?
SELECT ?w ?n WHERE { ?r property:start_time ?n . ?r property:spouse resource:Candace_Allen . ?r property:end_time ?w . resource:Simon_Rattle property:spouse ?r }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q157814> . ?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/Q1032915>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q157814 p:P26 ?s . ?s ps:P26 wd:Q1032915 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }