What is {treated by} of {legionnaires' disease}, that has {acting as} is {antibiotic} ?
What is treated as an antibiotic for the disease of legionnaires?
What is treated for legionnaires' disease that acts as an antibiotic?
SELECT ?v WHERE { resource:legionnaires'_disease property:drug_used_for_treatment ?v . ?v property:subject_has_role resource:antibiotic }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q154882> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2176>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2868> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q12187> . }
SELECT ?answer WHERE { wd:Q154882 wdt:P2176 ?answer . ?answer wdt:P2868 wd:Q12187}
erythromycin levofloxacin troleandomycin