The funicular line, one of three in Lisbon, is a popular tourist attraction.