Question: What are the medications by which mental disorder is treated?
Paraphrase: What medications treat mental disorder?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q12135 wdt:P2176 ?obj . ?obj wdt:P31 wd:Q12140 } 
Answer: olanzapine, clozapine, haloperidol, sertraline, quetiapine, lamotrigine, aripiprazole, duloxetine, risperidone, fluoxetine, paliperidone