What is the {state} with the {MAX(PPP GDP per capita)} whose {member of} is {Multilateral Investment Guarantee Agency}  ?
Which member states have the highest PPPGDP per capita in the Multilateral Investment Guarantee Agency?
Which of the member states in the multilateral Investment Guarantee Agency has the highest PPPGDP per capita?
SELECT ?v WHERE { ?v property:member_of resource:Multilateral_Investment_Guarantee_Agency . ?v property:PPP_GDP_per_capita ?p . ?v rdf:type ontology:state }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7275>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2299>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P463> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1043527> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q7275 . ?ent wdt:P2299 ?obj . ?ent wdt:P463 wd:Q1043527 } ORDER BY DESC(?obj)LIMIT 5 
Denmark