Detailed Instructions: 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'.
Problem:Context: Mentions of an older construction, such as the one presented on a painting by Jan Matejko of king Bolesaw I of Poland striking the Golden Gate with his sword Link Information: crowned himself King in 1025 Question: How long did the king who was painted by Jan Matejko rule Poland?
Solution:
Answer: 3