The present invention provides compounds of the formula I wherein X is a bond or CH2; Q is CH2 or O; L is selected from the group consisting of -OCH2- and -CH2O-; or a pharmaceutically acceptable salt thereof. Compounds of the invention are autotaxin inhibitors.本發明提供式I化合物其中X為一鍵或CH2;Q為CH2或O;L係選自由-OCH2-及-CH2O-組成之群;或其醫藥學上可接受之鹽。本發明化合物為自分泌運動因子抑制劑。