What is the {private educational institution} with the {MAX(students count)} whose {headquarters location} is {Berlin}  ?
What private school in Berlin has the most students?
Name the private educational institution in Berlin with the most students ?
SELECT ?n WHERE { ?n property:students_count ?f . ?n property:headquarters_location resource:Berlin . ?n rdf:type ontology:private_educational_institution }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q23002042>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q23002042 . ?ent wdt:P2196 ?obj . ?ent wdt:P159 wd:Q64 } ORDER BY DESC(?obj)LIMIT 5 
Steinbeis-Hochschule Berlin Mediadesign Hochschule Hertie School CODE University of Applied Sciences Berlin International University of Applied Sciences