What is the {republic} with the {MAX(Human Development Index)} whose {member of} is {International Centre for Settlement of Investment Disputes}  ?
According to the international center for settlement of investment, which country has the highest quality of life?
Which country has the highest quality of life according to the international center for settlement of investment disputes.
SELECT ?p WHERE { ?p property:Human_Development_Index ?g . ?p rdf:type ontology:republic . ?p 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/Q7270>.

?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/P1081>.
?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:Q7270 . ?ent wdt:P1081 ?obj . ?ent wdt:P463 wd:Q899770 } ORDER BY DESC(?obj)LIMIT 5 
France Austria Czech Republic Slovakia Latvia