Question: Which character in William Shakespeare's play "Hamlet" did Judi Dench play?

Context paragraphs:
Jeffery Dench: Jeffery Danny Dench (29 April 1928 – 27 March 2014) was an English actor, best known for his work with the Royal Shakespeare Company.  He was the older brother of actress Judi Dench.

A Fine Romance (1981 TV series): A Fine Romance is a British situation comedy starring husband-and-wife team Judi Dench and Michael Williams.  Dench's sister and brother-in-law were played by Susan Penhaligon and Richard Warwick.  It was produced by London Weekend Television and written by Bob Larbey.  It was first broadcast on 8 November 1981.  It lasted for 26 episodes over four series; the final episode being broadcast on 17 February 1984.  The series takes its name from a song in the 1936 film "Swing Time", starring Fred Astaire and Ginger Rogers, which Dench recorded as the theme music.

Victoria &amp; Abdul: Victoria & Abdul is a 2017 biographical comedy-drama film directed by Stephen Frears and written by Lee Hall.  A sequel to "Mrs Brown" (1997), the film is based on the book of same name by Shrabani Basu, and on the real-life relationship between Queen Victoria of the United Kingdom and her Indian muslim servant Abdul Karim.  The film stars Judi Dench, Ali Fazal, Michael Gambon, Eddie Izzard, Tim Pigott-Smith (in his last film role), and Adeel Akhtar.  Dench reprises her role as Queen Victoria from "Mrs. Brown".  The film had its world premiere at the 74th Venice Film Festival.

Judi Dench filmography: Dame Judi Dench is an English actress who has worked in theater, television, and film.  Dench made her professional debut in 1957 with the Old Vic Company.  Over the following few years she played in several of Shakespeare's plays in such roles as Ophelia in "Hamlet", Juliet in "Romeo and Juliet" and Lady Macbeth in "Macbeth".  She branched into film work, and won a BAFTA Award as Most Promising Newcomer; however, most of her work during this period was in theatre.

Judi Dench: Dame Judith Olivia "Judi" Dench, {'1': ", '2': ", '3': ", '4': "} (born 9 December 1934) is an English actress and author.  Dench made her professional debut in 1957 with the Old Vic Company.  Over the following few years, she performed in several of Shakespeare's plays in such roles as Ophelia in "Hamlet", Juliet in "Romeo and Juliet", and Lady Macbeth in "Macbeth".  Although most of her work during this period was in theatre, she also branched into film work and won a BAFTA Award as Most Promising Newcomer.  She drew strong reviews for her leading role in the musical "Cabaret" in 1968.

Hamlet (1996 film): Hamlet is a 1996 film adaptation of William Shakespeare's play "Hamlet", adapted for the screen and directed by Kenneth Branagh, who also stars in the titular role as Prince Hamlet.  The film also features Derek Jacobi as King Claudius, Julie Christie as Queen Gertrude, Kate Winslet as Ophelia, Michael Maloney as Laertes, Richard Briers as Polonius, and Nicholas Farrell as Horatio.  Other notable appearances include Robin Williams, Gérard Depardieu, Jack Lemmon, Billy Crystal, Rufus Sewell, Charlton Heston, Richard Attenborough, Judi Dench, John Gielgud and Ken Dodd.

Amy's View: Amy's View was written by British playwright David Hare, and originally premiered in London at the Royal National Theatre's Lyttelton Theatre on 13 June 1997.  It was directed by Richard Eyre and starred Judi Dench, Ronald Pickup and Samantha Bond in the title role.  It was then performed on Broadway on 15 April 1999.  It was directed again by Eyre, with Dench, Pickup and Bond reprising their roles.  It was revived in November 2006 with Felicity Kendal and Jenna Russell in the lead roles and toured various English theatres until February 2007.

Macbeth (1979 film): Macbeth is a 1979 videotaped version of Trevor Nunn's Royal Shakespeare Company production of the play by William Shakespeare.  Produced by Thames Television, it features Ian McKellen as Macbeth and Judi Dench as Lady Macbeth.  The TV version was directed by Philip Casson.

Ophelia: Ophelia is a character in William Shakespeare's play "Hamlet".  She is a young noblewoman of Denmark, the daughter of Polonius, sister of Laertes, and potential wife of Prince Hamlet.  She is one of only two female characters in the play.

Henry V (1989 film): Henry V is a 1989 British historical drama film adapted for the screen and directed by Kenneth Branagh, based on William Shakespeare's play of the same name about King Henry V of England.  The film stars Branagh in the title role with Paul Scofield, Derek Jacobi, Ian Holm, Emma Thompson, Alec McCowen, Judi Dench, Robbie Coltrane, Brian Blessed, and Christian Bale in supporting roles.

Supporting paragraphs: Judi Dench filmography Ophelia
Answer: Ophelia