What is the {think tank} with the {MAX(total expenditure)} whose {field of work} is {social policy}  ?
Which think tank spent the most money is social policy?
Name the think tank that spent the most money in the field of social policy.
SELECT ?e WHERE { ?e property:total_expenditure ?h . ?e property:field_of_work resource:social_policy . ?e rdf:type ontology:think_tank }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q155271>.

?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/P2402>.
?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/P101> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q828395> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q155271 . ?ent wdt:P2402 ?obj . ?ent wdt:P101 wd:Q828395 } ORDER BY DESC(?obj)LIMIT 5 