You will be given a definition of a task first, then some input of the task.
In this task, you're given a statement, further information available on a particular linked term from the statement, and a question. Your job is to generate the answer to the question by using the information provided. If there is no clear answer obtainable, output 'none'.

Context: Ximing Temple () was a famous temple in Chang'an, the capital of the Tang dynasty Link Information: The Tang dynasty (; ) or the Tang Empire was an imperial dynasty of China that ruled from 618 to 907, Question: When was the end of the dynasty which Chang'an served as capital?
Output:
Answer: 907