Disclosed is a compound represented by formula (I) or a pharmaceutically acceptable salt thereof as an inhibitor of phosphodiesterase type 5 and its therapeutic use in treating and/or preventing a disease or condition related with phosphodiesterase type 5 in a mammal wherein an inhibition of phosphodiesterase type 5 is considered beneficial