Here you have a snapshot of the "infamous" Ljubljana Castle Funicular Railway.
It's supposed to help tourists get on top of the castle. The latter is not even located on a mountain per se. Hill would be a good description.
You can read more on this here:
-...See more