What is the {medication} for {medical condition treated} of {bipolar disorder}
Bipolar disorder treats by which medicatication
What medication treats bipolar disorder?
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:medication . ?e property:medical_condition_treated resource:bipolar_disorder }
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/P2175> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q131755> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12140> } 
 select distinct ?sbj where { ?sbj wdt:P2175 wd:Q131755 . ?sbj wdt:P31 wd:Q12140 } 
olanzapine topiramate clozapine clonazepam quetiapine lamotrigine gabapentin carbamazepin risperidone tiagabine