What is the {federation} with the {MAX(PPP GDP per capita)} ?
WHICH IS THE Alliance WITH The Foremost PPP GDP PER CAPITAL
WHICH IS THE FEDERATION WITH THE MOST PPP GDP PER CAPITAL
SELECT ?t WHERE { ?t property:PPP_GDP_per_capita ?i . ?t rdf:type ontology:federation }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q43702>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2299>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q43702 . ?ent wdt:P2299 ?obj } ORDER BY DESC(?obj)LIMIT 5 