Both are attempts to account for meanings of ideas.
The principle of the hermeneutic priority of the question sees understanding an idea as a matter of hearing it as a response to an implied or explicit question. If a reader hears the idea as the response to the question intended by one expressing the idea, the idea is understood, or at least it is not misunderstood.
The pragmatic maxim (originally conceived by C. S. Peirce) sees the meaning of an idea as the consequences that follow from the idea if it is believed to be true — the “cash value” of the idea. (One wonderful application of the pragmatic maxim is religious. Stop asking whether God exists or not, and instead ask what follows from your belief or disbelief in God. Therefores are far more clarifying than definitions!)
These two ideas snap together with irresistible elegance, as the complementary upstream and downstream of meaning — the pragmatic presequence and consequence of ideas.
To fully understand the meaning of any idea, first, conceive it as a response to the question or problem that actually engendered it, then develop the consequences that follow from it.