The present invention provides pyrazolopyrimidone or pyrrolotriazone derivatives, methods for their preparation, and their pharmaceutical uses. Specifically, the present invention relates to pyrazolopyrimidone or pyrrolotriazone derivatives represented by general formula (I) and their pharmaceutical salts, methods for their preparation, and gonadotropin releasing hormone (GnRH) antagonists, particularly endometriosis And their definitions as substituents in general formula (I) are the same as in the specification. [Selection figure] None本発明はピラゾロピリミドンまたはピロロトリアゾン誘導体、それらの製造方法、およびそれらの医薬用途を提供する。具体的には、本発明は一般式(I)で表されるピラゾロピリミドンまたはピロロトリアゾン誘導体およびそれらの医薬塩、それらの製造方法、およびゴナドトロピン放出ホルモン(GnRH)アンタゴニストとして、特に子宮内膜症の治療剤としてのそれらの使用を提供し、そして一般式(I)における置換基の定義は明細書における定義と同じである。【選択図】なし