This page contains information regarding Star Trek: Picard, and thus may contain spoilers.
The queen was a playing card featuring a picture of a queen. It was ranked in most card games between the king and jack. The queen may also be referred to colloquially as a "lady". (TNG: "Cause and Effect")
In the fictional card game fizzbin, a player with two jacks had "a half fizzbin". In order to get a full fizzbin, they would require "a king and a deuce, except at night of course, when you'd need a queen and a four." (TOS: "A Piece of the Action")
During a game of poker aboard the USS Enterprise-D in 2365, Data lost a hand, while showing two queens and an ace while holding a third queen, after being bluffed by William T. Riker, who only showed a ten, jack, and five of hearts while holding a two of spades. (TNG: "The Measure Of A Man") Later that year, another game of poker came down to Worf and Katherine Pulaski; the former won with a full house (three aces and two queens), while the latter lost with a straight. In following hand of seven card stud, Data called "After the queen, one-eyed jacks and low card in the hole are wild." (TNG: "The Emissary")
As Harry Kim attempted to place plasma charges throughout a Borg cube carrying several Borg children, he was encountered by one, Mezoti, who found one of the cards that Kim used to mark his path. She held up the queen of hearts and showed it to Kim, stating, "I like her. She looks like Seven of Nine." (VOY: "Collective")