In this task, you're expected to write answers to questions involving multiple references to the same entity. The answer to the question should be unambiguous and a phrase in the paragraph. Most questions can have only one correct answer.

Ex Input:
Passage: Wood was born in Oxford Street, London, the only child of Henry Joseph Wood and his wife Martha, née Morris. Wood senior had started in his family's pawnbroking business, but by the time of his son's birth he was trading as a jeweller, optician and engineering modeller, much sought-after for his model engines. It was a musical household: Wood senior was an amateur cellist and sang as principal tenor in the choir of St Sepulchre-without-Newgate, known as "the musicians' church".   His wife played the piano and sang songs from her native Wales. They encouraged their son's interest in music, buying him a Broadwood piano, on which his mother gave him lessons. The young Wood also learned to play the violin and viola.
Wood received little religious inspiration at St Sepulchre, but was deeply stirred by the playing of the resident organist, George Cooper, who allowed him into the organ loft and gave him his first lessons on the instrument. Cooper died when Wood was seven, and the boy took further lessons from Cooper's successor, Edwin M. Lott, for whom Wood had much less regard. At the age of ten, through the influence of one of his uncles, Wood made his first paid appearance as an organist at St Mary Aldermanbury, being paid half a crown.  In June 1883, visiting the Fisheries Exhibition at South Kensington with his father, Wood was invited to play the organ in one of the galleries, making a good enough impression to be engaged to give recitals at the exhibition building over the next three months. At this time in his life, painting was nearly as strong an interest as music, and he studied in his spare time at the Slade School of Fine Art. He remained a life-long amateur painter.After taking private lessons from the musicologist Ebenezer Prout, Wood entered the Royal Academy of Music at the age of seventeen, studying harmony and composition with Prout, organ with Charles Steggall, and piano with Walter Macfarren. It is not clear whether he was a member of Manuel Garcia's singing class, but it is certain that he became its accompanist and was greatly influenced by Garcia. Wood also accompanied the opera class, taught by Garcia's son Gustave. Wood's ambition at the time was to become a teacher of singing, and he gave singing lessons throughout his life. He attended the classes of as many singing teachers as he could, although by his own account, "I possess a terrible voice. Garcia said it would go through a brick wall. In fact, a real conductor's voice.". 
Question: At what school did Wood study art?

Ex Output:
Slade School of Fine Art.


Ex Input:
Passage: Following a fire at the Ajuda Palace in 1794, the Prince Regent John VI and his wife Carlotta Joaquina began to use Queluz themselves. The Robillon wing was enlarged and given an upper floor for the use of the princess and her nine children. These additions were destroyed in the fire of 1934. To escape the forces of Napoleon I in 1807, the Portuguese royal family abandoned Queluz and fled to Brazil. The French occupational forces took control of the palace, and their commander, General Junot, made several alterations to the building. On the royal family's return from exile in 1821, the King preferred to live at Mafra, leaving his wife, the Spanish Queen Carlotta Joaquina, to occupy Queluz with her aunt Princess Maria Francisca Benedita. The King visited Queluz infrequently. It was on one of these rare visits that João VI died in the circular domed King's Bedroom in 1826.Carlotta Joaquina, sometimes described as sinister, is said to have been ambitious and violent. Her features were reportedly ugly, and she was short in stature. Whatever her shortcomings she lived in great style at Queluz, employing an orchestra which William Beckford described as the finest in Europe. The Queen also had a small private theatre in the gardens, of which nothing remains today. She died at the palace in 1830.Following the death of Carlotta Joaquina, Queluz saw only intermittent use as a royal residence and was not again the primary residence of Portuguese royalty. Carlotta Joaquina's son King Miguel used the palace during the three-year civil war which he fought against his brother King Pedro IV, before being forced by his brother in 1834 to abdicate and go into exile. A year later, Pedro IV died of tuberculosis at the age of 35 at Queluz, the palace of his birth. Pedro I's daughter Maria II ruled until her death in 1853 and was succeeded by her son Pedro V. Following his untimely death in the cholera epidemic of 1861, the throne passed to his brother Luís. From this time the royal family lived chiefly at the rebuilt Ajuda Palace in Lisbon. On the assassination of Luís' son Carlos I in 1908, the palace passed into the ownership of the state. Portugal was in the turmoil of revolution and the monarchy fell two years later. 
Question: What are the full names of the people who died at the palace?

Ex Output:
Carlotta Joaquina.


Ex Input:
Passage: Following the accession of James VII in 1685, Bruce gradually fell from favour, and was distrusted by the new regime. After the Revolution of 1688, and the accession of William of Orange as King, he was once again at odds with his Protestant rulers, and he refused to take up his seat in Parliament. As a staunch Episcopalian, Bruce was considered a potential Jacobite threat. In 1693 he was briefly imprisoned in Stirling Castle for refusing to appear before the Privy Council. He was incarcerated again at Stirling in 1694, and from 1696 in Edinburgh Castle. Bruce was expelled from parliament in 1702, his seat passing to his son John Bruce. Despite these imprisonments, he continued his architectural work, indeed the 1690s and 1700s were his most prolific years. Bruce was imprisoned at Edinburgh Castle again in 1708 and was only released a short time before his death, at the beginning of 1710.He was buried in the family mausoleum at Kinross Kirk. The ruins of the church still stand beside Kinross House, the mausoleum remains intact in the churchyard. Dating from 1675 it is probably by William Bruce in design, initially to house his parents.
Bruce's surviving account books show purchases of books on music, painting and horticulture, as well as numerous foreign-language works, suggesting that William Bruce was a learned man. He studied horticulture extensively, and applied his knowledge of the subject in his own gardens at Kinross. He was a friend of James Sutherland of the Edinburgh Botanic Garden, and may have known John Evelyn and other English horticulturalists. 
Question: What is the full name of the person that continued his architectural work despite being imprisoned?

Ex Output:

William Bruce.