Consider the following premises. w_2 and r_3. ~w_2. Can we infer q_1 from them?
 From w_2 and r_3 we can infer w_2. From w_2 we can infer w_2 or q_1. Finally, from w_2 or q_1, ~w_2 we can infer q_1. Therefore, the answer is yes. Notice, however, that the premises were contradictory, so we can infer anything from them.