In this task, you're given a passage, further information available on a particular linked term from the statement, and an answer term. Your job is to generate a question that can use the information provided to obtain the given answer. You should use the information on both passage and link information to create the question. Note that the answer to the question should be exactly the given answer, and if the answer is none, the answer to the question shouldn't be obtainable from the passage or linked information.

Passage: Corals, including some major extinct groups Rugosa and Tabulata, have been important reef builders through much of the Phanerozoic since the Ordovician Period. However, other organism groups, such as calcifying algae, especially members of the red algae Rhodophyta, and molluscs (especially the rudist bivalves during the Cretaceous Period) have created massive structures at various times. During the Cambrian Period, the conical or tubular skeletons of Archaeocyatha, an extinct group of uncertain affinities (possibly sponges), built reefs. Other groups, such as the Bryozoa have been important interstitial organisms, living between the framework builders. The corals which build reefs today, the Scleractinia, arose after the Permian–Triassic extinction event that wiped out the earlier rugose corals (as well as many other groups), and became increasingly important reef builders throughout the Mesozoic Era. They may have arisen from a rugose coral ancestor. Rugose corals built their skeletons of calcite and have a different symmetry from that of the scleractinian corals, whose skeletons are aragonite. However, there are some unusual examples of well-preserved aragonitic rugose corals in the Late Permian. In addition, calcite has been reported in the initial post-larval calcification in a few scleractinian corals. Nevertheless, scleractinian corals (which arose in the middle Triassic) may have arisen from a non-calcifying ancestor independent of the rugosan corals (which disappeared in the late Permian).
 Link Information: none Answer: none
Which major coral reef group went extinct first during the Phanerozoic period?

Passage: MacDonald was involved in raising funds for the Nationalist Party from 1925 and by 1930 was its general secretary in Western Australia. He was elected to the Senate at the 1934 election, representing the United Australia Party, although he took his seat early in March 1935, filling a casual vacancy. He was minister without portfolio assisting the Minister for Commerce from November 1937 to November 1938 and then assisting the Treasurer until April 1939. Due to his support for Billy Hughes for the leadership after the death of Joseph Lyons, MacDonald was left out of Robert Menzies' ministries. He lost his seat at the September 1946 election, with his term finishing in June 1947. He failed to get Liberal Party endorsement for the December 1949 election.
 Link Information: none Answer: none
How many members did the United Australia Party have when MacDonald was elected to the Senate to represent them?

Passage: A constitutional referendum was held throughout Turkey on 16 April 2017 on whether to approve 18 proposed amendments to the Turkish constitution that were brought forward by the governing Justice and Development Party (AKP) and the Nationalist Movement Party (MHP). If approved, the office of the Prime Minister would be abolished and the existing parliamentary system of government would be replaced with an executive presidency and a presidential system. The number of seats in Parliament was proposed to be raised from 550 to 600 while the president was proposed to be given more control over appointments to the Supreme Board of Judges and Prosecutors (HSYK). The referendum was held under a state of emergency that was declared following a failed military coup attempt in July 2016.
 Link Information:  The state of emergency was endorsed by the Parliament on 21 July by 346 votes to 115. Answer: 1

How long did the state of emergency last?