What is the {disease} for {has effect} of {bacteria}
who malady for has impact of bacteria?
who disease for has effect of bacteria?
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:disease . resource:bacteria property:has_effect ?e }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q10876> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1542> . ?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/Q12136> } 
 select distinct ?obj where { wd:Q10876 wdt:P1542 ?obj . ?obj wdt:P31 wd:Q12136 } 