What is {member of political party} of {Getúlio Vargas} that is {start time} is {1946-0-0} ?
In 1946, what politcal party was Getulio Vargas part of?
What political party did Getulio Vargas join in 1946?
SELECT ?o WHERE { resource:Getúlio_Vargas property:member_of_political_party ?r . ?r property:start_time ?w . FILTER ( CONTAINS ( YEAR ( ?w ) , '1946' ) ) . ?r property:member_of_political_party ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q156844> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1946-0-0>
} 

SELECT ?obj WHERE { wd:Q156844 p:P102 ?s . ?s ps:P102 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1946')) }