Sherlock Holmes when he wrote "The Merchant of Venice" probably was thinking of a Jew.
But I have never read it and only have a gist of the story.
"Pound of flesh but not one drop of blood" sort of stuff
Is Shylock ever explicitly described as a Jew in the novel?