The present invention relates to a compound represented by the formula
1
wherein R
1
is an optionally substituted 5-membered heterocyclic group; X is a bond etc.; Q is a divalent hydrocarbon group having 1 to 20 carbon atoms; Y is a bond etc.; ring A is an aromatic ring optionally further having 1 to 3 substituents; Z is —(CH
2
)
n
—Z
1
— (n is an integer of 0 to 8 and Z
1
is a bond etc.) and the like; ring B is a 5-membered heterocycle optionally further having 1 to 3 substituents; W is a divalent saturated hydrocarbon group having 1 to 20 carbon atoms; R
2
is —OH etc., or a salt thereof. A pharmaceutical composition containing this compound is useful as a prophylactic or therapeutic agent of diseases such as diabetes mellitus and the like.
本发明涉及一种由式1表示的化合物,其中R1是可选择取代的5元杂环基团; X是一个键等; Q是具有1到20个碳原子的双价碳氢基团; Y是一个键等; 环A是一个芳香环,可选择进一步具有1到3个取代基; Z是—(
CH2)n—Z1—(n为0到8的整数,Z1是一个键等)等; 环B是一个可选择进一步具有1到3个取代基的5元杂环; W是具有1到20个碳原子的双价饱和碳氢基团; R2是—OH等,或其盐。包含该化合物的制药组合物可用作糖尿病等疾病的预防或治疗剂。