What is {diplomatic relation} of {Guyana}, that has {human population} is {366690.0} ?
Which nation does Guyana have discretionary connection with where the populace is 366690?
Which country does Guyana have diplomatic relation with where the population is 366690?
SELECT ?m WHERE { ?m property:population ?d . FILTER ( ?d = 366690.0 ) . resource:Guyana property:diplomatic_relation ?m }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q734> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P530>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1082> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <366690.0> . }
SELECT ?answer WHERE { wd:Q734 wdt:P530 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x , '366690.0'))}