what is the {end time} for {Jair Bolsonaro} has {member of political party} as {Christian Democratic Party} ?
At what time did Jair Bolsonaro end his term?
when did Jair Bolsonaro's term end at the
SELECT ?m WHERE { resource:Jair_Bolsonaro property:member_of_political_party ?d . ?d property:member_of_political_party resource:Christian Democratic Party . ?d property:end_time ?m }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q10304982> .
?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> <http://wikidata.dbpedia.org/resource/Q5109506> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q10304982 p:P102 ?s . ?s ps:P102 wd:Q5109506 . ?s pq:P582 ?value}