What is {treats disease} of {bismuth}, that has {used for treatment} is {Trovafloxacin} ?
"What is the treats disease of bismuth whose cure is Trovafloxacin?
"What is the treats disease of bismuth whose treatment is Trovafloxacin?
SELECT ?k WHERE { ?k property:drug_used_for_treatment resource:Trovafloxacin . resource:bismuth property:medical_condition_treated ?k }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q942> . ?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> ?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/P2176> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q544393> . }
SELECT ?answer WHERE { wd:Q942 wdt:P2175 ?answer . ?answer wdt:P2176 wd:Q544393}
Escherichia coli infectious disease