what is the {end time} for {Sarah Palin} has {educated at} as {North Idaho College} ?
on what date did sarah palin finish her education at north idaho college?
When did Sarah Palin end her education at North Idaho College?
SELECT ?f WHERE { resource:Sarah_Palin property:educated_at ?v . ?v property:end_time ?f . ?v property:educated_at resource:North_Idaho_College }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43144> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q7055690> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q43144 p:P69 ?s . ?s ps:P69 wd:Q7055690 . ?s pq:P582 ?value}