$(p \Rightarrow q) \land (q \Rightarrow r) \land \neg(r \Rightarrow p)$

According to wolframalfa the result is $\neg p \land r$.

Could you tell me how did this happen? where did $q$ disappear and why?