What is {country} of {Guayaquil} that is {end time} is {1533-0-0} ?
Guayaquil, who died in 1533, is from what country?
What country is Guayaquil from who died in 1533?
SELECT ?e WHERE { ?k property:end_time ?l . ?k property:country ?e . FILTER ( CONTAINS ( YEAR ( ?l ) , '1533' ) ) . resource:Guayaquil property:country ?k }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43509> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1533-0-0>
} 

SELECT ?obj WHERE { wd:Q43509 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1533')) }