what is the {end time} for {Union of South Africa} has {official language} as {English} ?
When did the Union of South Africa never again have English as an official language?
When did the Union of South Africa no longer have English as an official language?
SELECT ?i WHERE { resource:Union_of_South_Africa property:official_language ?h . ?h property:official_language resource:English . ?h property:end_time ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q193619> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P37> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1860> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q193619 p:P37 ?s . ?s ps:P37 wd:Q1860 . ?s pq:P582 ?value}