What is {genetic association} of {major depressive disorder} that is {determination method} is {TAS} ?
With the determination method TAS, for what major depressive disorder is this associated?
What is the genetic association of major depressive disorder with the determination method TAS?
SELECT ?m WHERE { ?p property:genetic_association ?m . resource:major_depressive_disorders property:genetic_association ?p . ?p property:determination_method resource:TAS }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42844> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2293> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P459> <http://wikidata.dbpedia.org/resource/Q23190853>
} 

SELECT ?obj WHERE { wd:Q42844 p:P2293 ?s . ?s ps:P2293 ?obj . ?s pq:P459 wd:Q23190853 }