what is the {end time} for {Elinor Ostrom} has {employer} as {Indiana University} ?
Elinor Ostrom left her position at Indiana University on what date?
When did Elinor Ostrom leave their position at Indiana University?
SELECT ?r WHERE { ?p property:end_time ?r . ?p property:employer resource:Indiana_University . resource:Elinor_Ostrom property:employer ?p }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q153761> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P108> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6608367> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q153761 p:P108 ?s . ?s ps:P108 wd:Q6608367 . ?s pq:P582 ?value}