what is the {end time} for {Ai Weiwei} has {educated at} as {Art Students League of New York} ?
What year did Ai Weiwei finish studying at the Arts Students League of NY?
When did Ai Weiwei complete his studies at the Art Students League of NY?
SELECT ?c WHERE { ?e property:end_time ?c . ?e property:educated_at resource:Art_Students_League_of_New_York . resource:Ai_Weiwei property:educated_at ?e }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160115> .
?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/Q705737> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q160115 p:P69 ?s . ?s ps:P69 wd:Q705737 . ?s pq:P582 ?value}