What is {position held} of {Eva Perón} that is {end time} is {1952-7-26} ?
Eva Peron held which position until 7/7/1952?
What position did Eva Peron hold until July 7, 1952?
SELECT ?d WHERE { ?p property:end_time ?e . ?p property:position_held ?d . resource:Eva_Perón property:position_held ?p . FILTER ( CONTAINS ( YEAR ( ?e ) , '1952' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40933> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1952-7-26>
} 

SELECT ?obj WHERE { wd:Q40933 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1952')) }