What is the {sexual preference} for {studied by} of {psychotherapy}
Psychotherapy studies what type of sexual preference?
who sexual preference for studied by of psychotherapy?
SELECT DISTINCT ?l WHERE { ?l property:studied_by resource:psychotherapy . ?l rdf:type ontology:sexual_preference }
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/Q2275640> } 
 select distinct ?sbj where { ?sbj wdt:P2579 wd:Q183257 . ?sbj wdt:P31 wd:Q2275640 } 