What is {afflicts} of {disease treated} of {chlorhexidine} ?
What infections are treated with chlorhexidine?
What diseases are treated with chlorhexidine?
SELECT ?w WHERE { resource:chlorhexidine property:medical_condition_treated ?g . ?g property:afflicts ?w }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q15646788> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2175>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P689> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q15646788 wdt:P2175 ?X . ?X wdt:P689 ?answer}
human mouth