What is {end time} and {start time} of {{Anna Wintour} has {spouse} as {David Shaffer}}
When was Anna Wintour married to David Shaffer?
Which is the end time and the start time of Anna Wintour as a wife of David Shaffer?
SELECT ?y ?z WHERE { ?y property:start_time ?z . ?y property:spouse resource:David_Shaffer . resource:Anna_Wintour property:spouse ?y . ?y property:end_time ?y }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q230744> . ?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/Q2195431>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q230744 p:P26 ?s . ?s ps:P26 wd:Q2195431 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }