Question: Who inspired a Beatles song appearing on the same album as Glass Onion?
Sentence (from "Dear Prudence"): The song was written by John Lennon, and credited to Lennon–McCartney.
Relevant evidence: No