The present invention relates to compounds of Formula (I) or a stereoisomer, tautomer, or pharmaceutically acceptable salt or solvate thereof, wherein X, Y, Z, Q, W, m, u, ring , R2, R3, R4, R5 and R6, are as defined in the specification and claims. The present invention provides a pharmaceutical composition containing the compounds of Formula (I) and a therapeutic method of treating and/or preventing Downs syndrome, β-amyloid angiopathy, disorders associated with cognitive impairment, Alzheimer’s disease, memory loss, attention deficit symptoms associated with Alzheimer’s disease, neurodegenerative diseases, pre-senile dementia, senile dementia and dementia associated with Parkinsons disease, Alzheimer’s disease and/or Down syndrome, age-related macular degeneration (AMD), glaucoma, olfactory function impairment, traumatic brain injury, progressive muscle diseases, Type II diabetes mellitus and cardiovascular diseases (stroke).本發明係關於式(I)之化合物或其之立體異構物、互變異構物、或醫藥上可接受的鹽或其之溶劑合物(solvate),其中X、Y、Z、Q、W、m、u、環、R2、R3、R4、R5及R6係如說明書及申請專利範圍中所定義。本發明提供含有式(I)之化合物的醫藥組合物以及治療及/或預防下列病症的方法:唐氏症(Downs syndrome)、β類澱粉蛋白血管病變(β-amyloid angiopathy)、與認知損傷相關之病症(disorder associated with cognitive impairment)、阿茲海默症(Alzheimer’s disease)、記憶喪失、與阿茲海默症相關之注意力不足症(attention deficit symptom)、神經退化性疾病(neurodegenerative diseases)、早發型失智症(pre-senile dementia)、老年失智症(senile dementia)及與帕金森氏症(Parkinsons disease)、阿茲海默症及/或唐氏症相關之失智症、老年性黃斑部病變(age-related macular degeneration,AMD)、青光眼(glaucoma)、嗅覺功能損傷、創傷性腦傷(traumatic brain injury)、漸進式肌肉萎縮症(progressive muscle disease)、第二型糖尿病(Type II diabetes mellitus)及心血管疾病(中風)。