What is the {disease} for {studied by} of {psychotherapy}
What illnesses does psychotherapy study?
What diseases does psychotherapy study?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:disease . ?m property:studied_by resource:psychotherapy }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2579> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q183257> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12136> } 
 select distinct ?sbj where { ?sbj wdt:P2579 wd:Q183257 . ?sbj wdt:P31 wd:Q12136 } 