What is the {town} with the {MIN(male population)} whose {located in the administrative territorial entity} is {Tasmania}  ?
Which town in Tasmania has the least number of males?
What is the town with min male population located in the administrative territorial entity Tasmania?
SELECT ?f WHERE { ?f property:located_in_the_administrative_territorial_entity resource:Tasmania . ?f property:male_population ?x . ?f rdf:type ontology:town }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3957>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q3957 . ?ent wdt:P1540 ?obj . ?ent wdt:P131 wd:Q34366} ORDER BY ASC(?obj)LIMIT 5 