What is the {essential medicine} for {drug used for treatment} of {anthrax}
What drug treats anthrax?
What is the drug used to treat anthrax?
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:essential_medicine . resource:Anthrax property:drug_used_for_treatment ?y }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q129104> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2176> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q35456> } 
 select distinct ?obj where { wd:Q129104 wdt:P2176 ?obj . ?obj wdt:P31 wd:Q35456 } 
streptomycin erythromycin ciprofloxacin doxycycline