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.

Q: Passage: In 1809, Walter Coffin sunk the first coal pit in the Rhondda, further up the valley in Dinas, but a lack of a transportation network greatly affected the profitability of coal mining as an industry in the region. Coffin tackled this problem by constructing a one-mile tramline which connected his mines in Dinas to a tramline built by Dr. Richard Griffiths at Denia (Pontypridd), which linked to a private canal that joined onto the Glamorganshire Canal at Treforest. Coffins tramline followed the southern bank of the River Rhondda and ran through Porth. The existence of the tramline made the development of the Porth and Cymmer region far more attractive, and by the middle of the 19th century there was an impetus to expand coal mining in the area. In 1841 Richard Lewis joined Coffin in trying to exploit the region with his level built at Cymmer. This resulted in the construction of around fifty miners' cottages, several of which were located in Porth. In 1844 Lewis Edwards of Newport and George Gethin of Penygraig opened a small level at Nyth-bran on the eastern borders of Porth, the villages' first coal mine. This was followed in 1845 by the sinking of the Porth Colliery by David James of Merthyr, the success of which saw him build the Llwyncelyn Colliery in 1951, also in Porth. By 1850 the Taff Vale Railway had been extended to Cymmer replacing the tramline, allowing direct access between the lower Rhondda and the ports of Cardiff.
Link Information: It was opened in stages in 1840 and 1841. Answer: 10

A: How long had the Taff Vale Railway been in existence the year it was extended to Cymmer?
****
Q: Passage: Gibson became involved in politics as a member of the Whig Party with strong anti-slavery views. During the U.S. Presidential campaign of 1844, he gave stump speeches for Henry Clay due to the Whig Party's platform that opposed admitting Texas into the Union because it was a slave state. In the U.S. Presidential campaign of 1848, Gibson supported Whig candidate, "Rough and Ready" General Zachary Taylor. However, he was concerned about the Whig Party's lack of opposition to the abolition of slavery and personally visited Henry Clay at his home in Ashland, Kentucky in 1848 to discuss this issue. He lost as a Whig candidate for Ohio Attorney General in 1853. In 1853, following the large defeat of the Whig candidate General Winfield Scott in the U.S. Presidential election of 1852, Gibson threw his support to the Free Soil Party and began organizing what would become the Republican Party in Ohio. He attended the first organization meeting of the Republican Party in spring of 1856 in Pittsburgh. He was one of the 69 Ohio delegates (of a total 600 delegates from around the country) that attended the first Republican National Convention held in Philadelphia in June 1856. In 1856, he ran and was elected as the first Republican to hold the office of Ohio State Treasurer.
Link Information: In the U.S. Presidential campaign of 1848, Gibson supported Whig candidate, "Rough and Ready" General Zachary Taylor Answer: Zachary Taylor

A: Which Whig Party candidate that Gibson supported during U.S. presidential election died first?
****
Q: Passage: Smith was born in Bridgetown, Western Australia, to Eliza (nee Cain) and Joseph Smith. After leaving school, he worked as a tin miner in Greenbushes for eight years, and later became the licensee of a Bridgetown hotel. He also served on the Bridgetown Road Board, including as chairman for a period. Smith was president of the local branch of the Labor Party until 1917, when he left the party. He first stood for parliament at the 1917 state election, running as an "independent Labor" candidate, but was defeated by Francis Willmott (the sitting Country Party member) in the seat of Nelson. At the 1920 Legislative Council elections, he contested South-West Province as an independent, but was again defeated by a sitting member, Ephraim Clarke of the Nationalist Party. Smith eventually entered parliament at the 1921 state election, standing as an "independent Country" candidate and defeating Willmott (his earlier opponent) in Nelson.
Link Information: none Answer: none

A:
How many years did Smith serve as president of his local branch of the Labor Party?
****