In the movie, Sir Ben Kingsley plays the role of a mysterious and cantankerous librarian who takes a group of school children on an enlightening journey to meet pioneering scientists and engineers from the history of Muslim civilisation. The librarian is then revealed to be 12th century engineering genius Al-Jazari.