How do you set up a truth table to show that these expressions are consistant:

p -> q

q -> r

r -> p

-q

I'm basically asking how to solve question 51 of the first exercise in the book "Discreet Mathematics And Its Applications".

I've already solved the problem but I'd like to know how to use a truth table to solve it.