What is {end time} and {start time} of {{Deodoro da Fonseca} has {position held} as {President of Brazil}}
When is the conclusion and begin time of Deodoro da Fonseca position as President of Brazil?
When is the end and start time of Deodoro da Fonseca position as President of Brazil?
SELECT ?f ?k WHERE { ?z property:end_time ?f . ?z property:start_time ?k . ?z property:position_held resource:President_of_Brazil . resource:Deodoro_da_Fonseca property:position_held ?z }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q200812> . ?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> <http://wikidata.dbpedia.org/resource/Q5176750>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q200812 p:P39 ?s . ?s ps:P39 wd:Q5176750 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }