What is {has outcome} of {diabetes mellitus}, that has {ICD-9-CM} is {362.0} ?
What is the result of diabetes mellitus with a 362.0 ICD-9-CM?
What outcome of diabetes mellitus has an ICD-9-CM of 362.0?
SELECT ?c WHERE { FILTER ( ?a = 362.0 ) . ?c property:ICD-9-CM ?a . resource:diabetes_mellitus property:has_effect ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12206> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1542>. ?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/P1692> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <362.0> . }
SELECT ?answer WHERE { wd:Q12206 wdt:P1542 ?answer . ?answer wdt:P1692 ?x FILTER(contains(?x , '362.0'))}