What is the {sports club} with the {MAX(member count)} whose {instance of} is {association football club}  ?
Which soccer team has the most members?
What is the sports club with the highest member count whose instance of is association football club?
SELECT ?s WHERE { ?s rdf:type ontology:sports_club . ?s rdf:type ontology:association_football_club . ?s property:member_count ?k }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q847017>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q847017 . ?ent wdt:P2124 ?obj . ?ent wdt:P31 wd:Q476028 } ORDER BY DESC(?obj)LIMIT 5 
MTV München 1879