What is the {nonprofit organization} with the {MAX(total expenditure)} ?
Give me the nonprofit organization with highest total expenditure.
Which nonprofit organization has the highest total expenditure?
SELECT ?c WHERE { ?c property:total_expenditure ?t . ?c rdf:type ontology:nonprofit_organization }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q163740>.
?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/P2402>.
?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:Q163740 . ?ent wdt:P2402 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Bill & Melinda Gates Foundation Trust Save the Children Watch Tower Bible and Tract Society of Pennsylvania Sesame Workshop Hoover Institution