What is the {sexual preference} for {studies} of {psychotherapy}
Which is the sexual inclination of the considers of psychotherapy?
Which is the sexual preference of the studies of psychotherapy?
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sexual_preference . resource:psychotherapy property:studies ?j }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q183257> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2578> . ?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/Q2275640> } 
 select distinct ?obj where { wd:Q183257 wdt:P2578 ?obj . ?obj wdt:P31 wd:Q2275640 } 