What is the {hermitage} with the {MAX(number of households)} ?
Which isolation has the biggest number of households?
Which hermitage has the largest number of households?
SELECT ?w WHERE { ?w rdf:type ontology:hermitage . ?w property:number_of_households ?u }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1138414>.
?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/P1538>.
?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:Q1138414 . ?ent wdt:P1538 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Ebrantshausen Obereinöd Iglbach Eglsee (Straubing) Manglham