In the context of playing cards, the hierarchy typically goes as follows:
- Ace
- King
- Queen
- Jack
So, in terms of rank, the queen is higher than the jack but lower than the king. The "Duke" is not typically used as a card rank in standard playing card decks. However, it's worth noting that different regions or custom decks may have variations in the hierarchy or additional ranks, so it's always best to consult the specific rules and conventions of the card game you are playing to determine the exact ranking of cards.