what is the {end time} for {Alfonso VI of León and Castile} has {spouse} as {Zaida of Seville} ?
On what date did Alfonso VI of Leon and Castile and Zaida relationship come to an end?
When did the relationship between Alfonso VI of Leon and Castile and Zaida come to an end?
SELECT ?x WHERE { ?m property:end_time ?x . ?m property:spouse resource:Zaida_of_Seville . resource:Alfonso_VI_of_León_and_Castile property:spouse ?m }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q235080> .
?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/Q2543811> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q235080 p:P26 ?s . ?s ps:P26 wd:Q2543811 . ?s pq:P582 ?value}