what is the {end time} for {Marissa Mayer} has {employer} as {Yahoo} ?
When was Marissa Mayer never again working at Yahoo?
When was Marissa Mayer no longer working at Yahoo?
SELECT ?p WHERE { ?l property:employer resource:Yahoo . resource:Marissa_Mayer property:employer ?l . ?l property:end_time ?p }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q14086> .
?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/Q37093> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q14086 p:P108 ?s . ?s ps:P108 wd:Q37093 . ?s pq:P582 ?value}