The present invention covers Pyrazolopyrimidine compounds of general formula (I):in which n, o, X, Y, R, Q, R1, R2, R3 and R4 are as defined herein, methods of preparing said compounds, intermediate compounds useful for preparing said compounds, pharmaceutical compositions and combinations comprising said compounds and the use of said compounds for manufacturing pharmaceutical compositions for the treatment, control and/or prevention of diseases, in particular of helminth infections, as a sole agent or in combination with other active ingredients.