* The: Determiner (specifies which queen)
* queen: Noun (the subject of the sentence)
* knew: Verb (past tense, indicating an action)
* that: Conjunction (introduces a subordinate clause)
* she: Pronoun (subject of the subordinate clause)
* would be: Verb phrase (future tense, indicating a state of being)
* only: Adverb (modifies the adjective "pretty")
* pretty: Adjective (describes the noun "lady")
* lady: Noun (object of the verb "be")
* at: Preposition (shows the relationship between "lady" and "party")
* the: Determiner (specifies which party)
* party: Noun (object of the preposition "at")
Let me know if you'd like a more detailed explanation of any specific part of speech!