What is the {medication} for {medical condition treated} of {chickenpox}
What medicine works on Chickenpox?
What medication works on Chickenpox?
SELECT DISTINCT ?n WHERE { ?n property:medical_condition_treated resource:chickenpox . ?n rdf:type ontology:medication }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2175> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q44727> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12140> } 
 select distinct ?sbj where { ?sbj wdt:P2175 wd:Q44727 . ?sbj wdt:P31 wd:Q12140 } 
aciclovir