Question: Which country does Guyana have diplomatic relation with where the population is 366690?
SPARQL (Wikidata): SELECT ?answer WHERE { wd:Q734 wdt:P530 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x,'366690.0'))}