What is the {disease} with the {MAX(disease burden)} whose {drug used for treatment} is {erythromycin}  ?
What disease does erythromycin treat?
Erythromycin is used to treat what disease the most?
SELECT ?z WHERE { ?z property:drug_used_for_treatment resource:erythromycin . ?z property:disease_burden ?q . ?z rdf:type ontology:disease }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12136>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q12136 . ?ent wdt:P2854 ?obj . ?ent wdt:P2176 wd:Q213511 } ORDER BY DESC(?obj)LIMIT 5 