What is the {unitary state} with the {MAX(nominal GDP per capita)} whose {member of} is {International Centre for Settlement of Investment Disputes}  ?
Which state has the highest nominal GDP per capita among the members of the International Centre for Settlement of Investment Disputes?
Of all the unitary states which are members of the International Centre for Settlement of Investment Disputes, which has the highest GDP per capita in nominal terms?
SELECT ?z WHERE { ?z rdf:type ontology:unitary_state . ?z property:nominal_GDP_per_capita ?g . ?z property:member_of resource:International_Centre_for_Settlement_of_Investment_Disputes }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q179164>.

?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/P2132>.
?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/Q899770> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q179164 . ?ent wdt:P2132 ?obj . ?ent wdt:P463 wd:Q899770 } ORDER BY DESC(?obj)LIMIT 5 