What is the {disease} for {has effect} of {diabetes mellitus}
What does Diabetes. mellitus give?
What effect does the disease diabetes mellitus have?
SELECT DISTINCT ?t WHERE { resource:diabetes_mellitus property:has_effect ?t . ?t rdf:type ontology:disease }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12206> . ?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:Q12206 wdt:P1542 ?obj . ?obj wdt:P31 wd:Q12136 } 
diabetic nephropathy