In this task, you're given passages that contain mentions of names of people, places, or things. Some of these mentions refer to the same person, place, or thing. Your job is to write questions that evaluate one's understanding of such references. Good questions are expected to link pronouns (she, her, him, his, their, etc.) or other mentions to people, places, or things to which they may refer. Do not ask questions that can be answered correctly without understanding the paragraph or having multiple answers. Avoid questions that do not link phrases referring to the same entity. For each of your questions, the answer should be one or more phrases in the paragraph, and it should be unambiguous.

Ex Input:
Passage: In the opening scene, San Francisco socialite Joyce Ramsey expresses concern about the working-class background of her daughter Martha's boyfriend Phil, and her husband David, tired of his opportunistic wife's social ambitions, asks her for a divorce and moves out, prompting her to look back on their marriage.
Via a flashback, we learn about the couple's humble beginnings and discover how they worked their way into the world of the nouveau riche. David is a Santa Rosa attorney with no clients, working on construction jobs with his law partner Robert Townsend to support his bride, who serves as the struggling firm's secretary. Finding herself pregnant, Joyce schemes to land Swanson, a former factory worker with a valuable steel-making patent, as a client. She succeeds at getting him to hire David alone, and when her plot eventually is discovered, Robert quits. David is furious with his wife, but she placates him by convincing him her sole intent was to help him and their unborn child.
Back in the present, Joyce is forced to admit to her daughters their father has left her when a society columnist questions his move. She learns from a friend David has been seen with another woman and hires a private detective to investigate.
Another flashback, and David, now an executive in Swanson's company, announces he has been transferred to San Francisco but wants to live in the suburbs. Joyce, longing for the excitement of city living, changes his mind. Eventually she meets Emily Hedges, and the two, bonded by their social-climbing aspirations, become close friends. An additional flashback which occurs in the not-so-distant past reveals Robert Townsend, in desperate need of $15,000, arrives at the Ramsey home to request a loan, and Joyce tells him David is away on business and she is unable to help him. Her husband learns of her lie and comes to his former partner's aid, accusing Joyce of being callous.

Ex Output:
Who is the child of the couple with humble beginnings?


Ex Input:
Passage: In 1861, Rossier was in Siam, where he assisted the French zoologist Firmin Bocourt by taking ethnographic portraits for the latter's scientific expedition of 1861–1862, and in 1863, Negretti and Zambra issued a series of 30 stereographic portraits and landscapes taken in Siam that are almost certainly the work of Rossier. In February 1862, Rossier was again in Shanghai, where he sold his cameras and other photographic equipment before embarking for Europe. During his time in Asia it is possible that Rossier photographed in India; Negretti and Zambra issued a series of views of India at about the same time as Rossier's China views.Rossier returned to Switzerland in early 1862 and, in October 1865, married Catharine Barbe Kaelin (1843–1867). The couple had a son, Christophe Marie Pierre Joseph, who was born on 30 July 1866. Catharine died on 4 April 1867.
Rossier maintained a photographic studio in Fribourg until at least 1876 and he also had a studio in Einsiedeln. During the 1860s and 1870s, he produced a number of stereographs and cartes-de-visite comprising portraits and views of Fribourg, Einsiedeln and other places in Switzerland. An 1871 advertisement in the French-language Fribourg newspaper La Liberté offered photographs by Rossier of religious paintings by the artist Melchior Paul von Deschwanden. In 1872, Rossier applied for a passport to travel to France where he may have produced photographs. At some point between 1871 and 1884, he married again. His second wife, Marie Virginie Overney, was employed as a household servant by the landlords of his studio. They had a son, Joseph Louis, who was born in Paris on 16 March 1884, and who went on to own a café in Vevey, Switzerland. He died in 1927.
Pierre Rossier died in Paris some time between 1883 and 1898.Examples of Rossier's views of Switzerland are held in several institutions and private collections in that country. Rossier took the first commercial photographs of China and Japan, and they are now quite rare. He complained at times of the adverse effects of the climate on his photographic chemicals and some of his negatives may have been damaged en route to London from Asia. Though his surviving images are scarce, his importance to the early history of photography in Asia is great. Before his arrival in Japan in 1859, Japanese students of photography had struggled to produce satisfactory images, but Rossier's experience, instruction, and contacts with suppliers of photographic materials were extremely helpful in the development of an autonomous photographic tradition in Japan.

Ex Output:
What was the full name of the person who died on 4 April 1867?


Ex Input:
Passage: The Abbasid Caliphate, founded by Abu al-‘Abbās ‘Abdu'llāh ibn Muhammad as-Saffāḥ, the great-great-grandson of Muhammad's uncle Abbas, in 749, had ruled northeastern Africa, Arabia, and the Near East, even though their rule had by 1258 shrunk to only southern and central Iraq. The Abbasids' seat of power for almost 500 years was Baghdad, a city considered to be the jewel of Islam and one of the largest and most powerful cities in the world. But under attack from the Mongols, the city fell on February 15, 1258, a loss often considered in the Muslim world as the single most catastrophic event in the history of Islam, the end of the Islamic Golden Age. The Christian Georgians had been the first to breach the walls, and as described by historian Steven Runciman, "were particularly fierce in their destruction". When Hulagu conquered the city, the Mongols demolished buildings, burned entire neighborhoods, and massacred nearly all the men, women, and children. But at the intervention of Doquz Khatun, the Christian inhabitants were spared.
For Asiatic Christians, the fall of Baghdad was cause for celebration. Hulagu and his Christian queen came to be considered as God's agents against the enemies of Christianity, and were compared to the influential 4th-century Christian Emperor Constantine the Great and his revered empress mother, Saint Helen, an icon of the Christian church. The Armenian historian Kyrakos of Gandzak praised the Mongol royal couple in texts for the Armenian Church, and Bar Hebraeus, a bishop of the Syriac Orthodox Church, also referred to them as a Constantine and Helena, writing of Hulagu that nothing could compare to the "king of kings" in "wisdom, high-mindedness, and splendid deeds".

Ex Output:

What were the full names of the two people Hulagu and his Christian queen were compared to?