What is {science, that studies} of {disease}, that has {has outcome} is {genetic disease} ?
Genetic diseases is studied by which science?
What science studies genetic diseases?
SELECT ?f WHERE { resource:disease property:studied_by ?f . ?f property:has_effect resource:genetic_disease }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12136> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2579>. ?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/P1542> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q200779> . }
SELECT ?answer WHERE { wd:Q12136 wdt:P2579 ?answer . ?answer wdt:P1542 wd:Q200779}