In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).

Context: The Naked City is a 1948 film noir directed by Jules Dassin. Based on a story by Malvin Wald, the film depicts the police investigation that follows the murder of a young model, incorporating heavy elements of police procedure. A veteran cop is placed in charge of the case and he sets about, with the help of other beat cops and detectives, to find the girl's killer. The movie, shot partially in documentary style, was filmed on location on the streets of New York City and features landmarks such as the Williamsburg Bridge, the Whitehall Building, and an apartment building on West 83rd Street in Manhattan as the scene of the murder., Malvin Daniel Wald (August 8, 1917  March 6, 2008) was an American screenwriter most famous for writing the 1948 police drama "The Naked City", for which he was nominated for the Academy Award for Best Story. He wrote over 150 scripts for motion pictures and TV shows including "Peter Gunn", "Daktari", and "Perry Mason". He also served with the Army Air Forces and taught screenwriting at the University of Southern California. He died at Sherman Oaks Hospital in Los Angeles from age-related causes at age 90., The spy film genre deals with the subject of fictional espionage, either in a realistic way (such as the adaptations of John le Carré) or as a basis for fantasy (such as many James Bond films). Many novels in the spy fiction genre have been adapted as films, including works by John Buchan, le Carré, Ian Fleming (Bond) and Len Deighton. It is a significant aspect of British cinema, with leading British directors such as Alfred Hitchcock and Carol Reed making notable contributions and many films set in the British Secret Service., The House on 92nd Street is a 1945 black - and - white American spy film directed by Henry Hathaway . The film , shot mainly in New York City , was released shortly after the end of World War II. The House on 92nd Street was made with the full cooperation of the Federal Bureau of Investigation ( FBI ) , and its head , J. Edgar Hoover , appears during the introduction . Also , the FBI agents in Washington were played by actual agents . The film 's semidocumentary style inspired other films including The Naked City ., Sir Carol Reed (30 December 1906  25 April 1976) was an English film director best known for "Odd Man Out" (1947), "The Fallen Idol" (1948) and "The Third Man" (1949). For "Oliver!" (1968), he received the Academy Award for Best Director., Subject: the house on 92nd street, Relation: nominated_for, Options: (A) academy award for best director (B) academy award for best story
academy award for best story

Context: Terms of Endearment is a 1983 American comedy-drama film adapted from the novel of the same name by Larry McMurtry, directed, written, and produced by James L. Brooks and starring Shirley MacLaine, Debra Winger, Jack Nicholson, Danny DeVito, Jeff Daniels, and John Lithgow. The film covers 30 years of the relationship between Aurora Greenway (MacLaine) and her daughter Emma (Winger)., Tom Pedigo ( March 4 , 1940 -- January 25 , 2000 ) was an American set decorator . He was nominated for an Academy Award in the category Best Art Direction for the film Terms of Endearment ., Shirley MacLaine (born Shirley MacLean Beaty; April 24, 1934) is an American film, television and theater actress, singer, dancer, activist and author. An Academy Award winner, MacLaine received the 40th AFI Life Achievement Award from the American Film Institute in 2012, and received the Kennedy Center Honors for her lifetime contributions to American culture through the performing arts in 2013. She is known for her New Age beliefs, and has an interest in spirituality and reincarnation. She has written a series of autobiographical works that describe these beliefs, document her world travels, and describe her Hollywood career., Jeffrey Warren Daniels (born February 19, 1955) is an American actor, musician, and playwright, whose career includes roles in films, stage productions and on television, for which he has won an Emmy Award and received Golden Globe, Screen Actors Guild and Tony Award nominations., John Arthur Lithgow (; born , 1945) is an American actor, musician, singer, and author. He has received two Tony Awards, five Emmy Awards, two Golden Globe Awards, three Screen Actors Guild Awards, an American Comedy Award, four Drama Desk Awards and has also been nominated for two Academy Awards and four Grammy Awards. Lithgow has received a star on the Hollywood Walk of Fame and has been inducted into the American Theater Hall of Fame., Larry Jeff McMurtry (born June 3, 1936) is an American novelist, essayist, bookseller and screenwriter whose work is predominantly set in either the old West or in contemporary Texas. His novels include "Horseman, Pass By" (1962), "The Last Picture Show" (1966) and "Terms of Endearment" (1975), which were adapted into films earning 26 Academy Award nominations (10 wins). His 1985 Pulitzer Prize-winning novel "Lonesome Dove" was adapted into a television miniseries that earned 18 Emmy Award nominations (seven wins), with the other three novels in his "Lonesome Dove" series adapted into three more miniseries earning eight more Emmy nominations. McMurtry and co-writer Diana Ossana adapted the screenplay for "Brokeback Mountain" (2005), which earned eight Academy Award nominations with three wins, including McMurtry and Ossana for Best Adapted Screenplay., Debra Lynn Winger (born May 16, 1955) is an American actress. She has been nominated three times for the Academy Award for Best Actress; for "An Officer and a Gentleman" (1982), "Terms of Endearment" (1983), and "Shadowlands" (1993). She won the National Society of Film Critics Award for Best Actress for "Terms of Endearment", and the Tokyo International Film Festival Award for Best Actress for "A Dangerous Woman" (1993). Her other film roles include "Urban Cowboy" (1980), "Legal Eagles" (1986), "Black Widow" (1987), "Betrayed" (1988), "Forget Paris" (1995), and "Rachel Getting Married" (2008). In 2012, she made her Broadway debut in the original production of the David Mamet play "The Anarchist"., Subject: tom pedigo, Relation: award_received, Options: (A) academy awards (B) afi life achievement award (C) american film institute (D) award (E) emmy award (F) hollywood walk of fame (G) national society of film critics (H) pulitzer prize
emmy award

Context: The House of Hanover (or the Hanoverians ) is a German royal dynasty that ruled the Electorate and then the Kingdom of Hanover, and that also provided monarchs of Great Britain and Ireland from 1714 and ruled the United Kingdom until the death of Queen Victoria in 1901. Upon Victoria's death, the British throne passed to her eldest son Edward VII, a member of the House of Saxe-Coburg and Gotha through his father. 
The House of Hanover was formally named the House of Brunswick-Lüneburg, Hanover line, as it was originally a cadet branch of the House of Brunswick-Lüneburg. The senior branch became extinct in 1884, and the House of Hanover is now the only surviving branch of the House of Welf, which is the senior branch of the House of Este. The current head of the House of Hanover is Ernst August, Prince of Hanover., George III (George William Frederick; 4 June 1738  29 January 1820) was King of Great Britain and Ireland from 25 October 1760 until the union of the two countries on 1 January 1801, after which he was King of the United Kingdom of Great Britain and Ireland until his death. He was concurrently Duke and prince-elector of Brunswick-Lüneburg ("Hanover") in the Holy Roman Empire until his promotion to King of Hanover on 12 October 1814. He was the third British monarch of the House of Hanover, but unlike his two predecessors he was born in Britain, spoke English as his first language, and never visited Hanover., Princess Mary , Duchess of Gloucester and Edinburgh ( 25 April 1776 -- 30 April 1857 ) was the 11th child and 4th daughter of King George III of the United Kingdom . She married her first cousin , Prince William Frederick , Duke of Gloucester and Edinburgh , when both were 40 , and was his widow in later life . In her last years , her niece , Victoria , was on the throne as the fourth monarch during Mary 's life , after her father and two of her brothers . Princess Mary was the longest - lived ( at 81 years ) and last survivor of George III 's fifteen children ; of those fifteen issue , thirteen lived to adulthood . She was also the only one of George III 's children to be photographed . She died on 30 April 1857 at Gloucester House , London ., Subject: princess mary, Relation: noble_family, Options: (A) house of este (B) house of hanover
house of hanover