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 Q]: Passage: In 1990, Zappa was diagnosed with terminal prostate cancer. The disease had been developing unnoticed for ten years and was considered inoperable. After the diagnosis, Zappa devoted most of his energy to modern orchestral and Synclavier works. Shortly before his death in 1993 he completed Civilization Phaze III, a major Synclavier work which he had begun in the 1980s.In 1991, Zappa was chosen to be one of four featured composers at the Frankfurt Festival in 1992 (the others were John Cage, Karlheinz Stockhausen, and Alexander Knaifel). Zappa was approached by the German chamber ensemble Ensemble Modern which was interested in playing his music for the event. Although ill, he invited them to Los Angeles for rehearsals of new compositions and new arrangements of older material. Zappa also got along with the musicians, and the concerts in Germany and Austria were set up for later in the year. Zappa also performed in 1991 in Prague, claiming that "was the first time that he had a reason to play his guitar in 3 years", and that that moment was just "the beginning of a new country", and asked the public to "try to keep your country unique, do not change it into something else".In September 1992, the concerts went ahead as scheduled but Zappa could only appear at two in Frankfurt due to illness. At the first concert, he conducted the opening "Overture", and the final "G-Spot Tornado" as well as the theatrical "Food Gathering in Post-Industrial America, 1992" and "Welcome to the United States" (the remainder of the program was conducted by the ensemble's regular conductor Peter Rundel). Zappa received a 20-minute ovation. G-Spot Tornado was performed with Canadian dancer Louise Lecavalier. It was his last professional public appearance as the cancer was spreading to such an extent that he was in too much pain to enjoy an event that he otherwise found "exhilarating". Recordings from the concerts appeared on The Yellow Shark (1993), Zappa's last release during his lifetime, and some material from studio rehearsals appeared on the posthumous Everything Is Healing Nicely (1999).
[EX A]: In what city was Zappa's last professional public appearance?

[EX Q]: Passage: There were many prominent women at court during and after Wu's reign, including Shangguan Wan'er (664–710), a poet, writer, and trusted official in charge of Wu's private office. In 706 the wife of Emperor Zhongzong of Tang, Empress Wei (d. 710), persuaded her husband to staff government offices with his sister and her daughters, and in 709 requested that he grant women the right to bequeath hereditary privileges to their sons (which before was a male right only). Empress Wei eventually poisoned Zhongzong, whereupon she placed his fifteen-year-old son upon the throne in 710. Two weeks later, Li Longji (the later Emperor Xuanzong) entered the palace with a few followers and slew Empress Wei and her faction. He then installed his father Emperor Ruizong (r. 710–712) on the throne. Just as Emperor Zhongzong was dominated by Empress Wei, so too was Ruizong dominated by Princess Taiping. This was finally ended when Princess Taiping's coup failed in 712 (she later hanged herself in 713) and Emperor Ruizong abdicated to Emperor Xuanzong.
During the 44-year reign of Emperor Xuanzong, the Tang dynasty reached its height, a golden age with low economic inflation and a toned down lifestyle for the imperial court. Seen as a progressive and benevolent ruler, Xuanzong even abolished the death penalty in the year 747; all executions had to be approved beforehand by the emperor himself (these were relatively few, considering that there were only 24 executions in the year 730). Xuanzong bowed to the consensus of his ministers on policy decisions and made efforts to staff government ministries fairly with different political factions. His staunch Confucian chancellor Zhang Jiuling (673–740) worked to reduce deflation and increase the money supply by upholding the use of private coinage, while his aristocratic and technocratic successor Li Linfu (d. 753) favored government monopoly over the issuance of coinage. After 737 most of Xuanzong's confidence rested in his long-standing chancellor Li Linfu, who championed a more aggressive foreign policy employing non-Chinese generals. This policy ultimately created the conditions for a massive rebellion against Xuanzong.
[EX A]: What is the name of the Emperor who staunch Confucian chancellor worked to reduce deflation and increase the money supply?

[EX Q]: Passage: Elgin Cathedral is a historic ruin in Elgin, Moray, north-east Scotland. The cathedral—dedicated to the Holy Trinity—was established in 1224 on land granted by King Alexander II outside the burgh of Elgin and close to the River Lossie. It replaced the cathedral at Spynie, 3 kilometres (1.9 mi) to the north, that was served by a small chapter of eight clerics. The new and bigger cathedral was staffed with 18 canons in 1226 and then increased to 23 by 1242. After a damaging fire in 1270, a rebuilding programme greatly enlarged the building. It was unaffected by the Wars of Scottish Independence but again suffered extensive fire damage in 1390 following an attack by Robert III's brother Alexander Stewart, Earl of Buchan, also known as the Wolf of Badenoch. In 1402 the cathedral precinct again suffered an incendiary attack by the followers of the Lord of the Isles. The number of clerics required to staff the cathedral continued to grow, as did the number of craftsmen needed to maintain the buildings and surrounds.
The cathedral went through periods of enlargement and renovation following the fires of 1270 and 1390 that included the doubling in length of the choir, the provision of outer aisles to the northern and southern walls of both the nave and choir. Today, these walls are at full height in places and at foundation level in others yet the overall cruciform shape is still discernible. A mostly intact octagonal chapter house dates from the major enlargement after the fire of 1270. The gable wall above the double door entrance that links the west towers is nearly complete and was rebuilt following the fire of 1390. It accommodates a large window opening that now only contains stub tracery work and fragments of a large rose window. Recessed and chest tombs in both transepts and in the south aisle of the choir contain effigies of bishops and knights, and large flat slabs in the now grass-covered floor of the cathedral mark the positions of early graves. The homes of the dignitaries and canons, or manses, stood in the chanonry and were destroyed by fire on three occasions: in 1270, 1390 and 1402. The two towers of the west front are mostly complete and were part of the first phase of construction. Only the precentor's manse is substantially intact; two others have been incorporated into private buildings. A protective wall of massive proportions surrounded the cathedral precinct, but only a small section has survived. The wall had four access gates, one of which—the Pans Port—still exists.
[EX A]:
What replaced the cathedral at Spynie?