Hindu and 4 individuals who belonged to another church. 481 (or about 7.12% of the population) belonged to no church, are agnostic or atheist, and 312 individuals (or about 4.62% of the population) did not answer the question. Education In Porrentruy about 2,097 or (31.1%) of the population have completed non-mandatory upper secondary education, and 813 or (12.0%) have completed additional higher education (either university or a Fachhochschule). Of the 813 who completed tertiary schooling, 59.5% were Swiss men, 25.2% were Swiss women, 8.4% were non-Swiss men and 6.9% were non-Swiss women. The Canton of Jura school system provides two year of non-obligatory Kindergarten, followed by six years of primary school. This is followed by three years of obligatory lower secondary school where the students are separated according to ability and aptitude. Following the lower secondary stage, students may attend a three or four year optional upper secondary school followed by some form of tertiary school or they may enter an apprenticeship. During the 2009–10 school year, there were a total of 1,183 students attending 59 classes in Porrentruy. There were 5 kindergarten classes with a total of 83 students in the municipality. The municipality had 18 primary classes and 342 students. During the same year, there were 36 lower secondary classes with a total of 758 students. , there were 1,682 students in Porrentruy who came from another municipality, while 52 residents attended schools outside the municipality. Porrentruy is home to the Bibliothèque cantonale jurassienne library. The library has () 115,585 books or other media, and loaned out 10,097 items in the same year. It was open a total of 243 days with average of 32 hours per week during that year. Porrentruy is also home to the only two tertiary schools (or "Lycées" in French) in the Canton of Jura. The first being the Lycée Cantonal de Porrentruy, a public tertiary school and the second being the Collège et Lycée Saint-Charles. Transportation Porrentruy lies at the junction of two railway lines: the Delémont–Delle railway line of Swiss Federal Railways and the Porrentruy–Bonfol railway line of Chemins de fer du Jura. The first railway line opened in 1872, connecting Porrentruy with Delle, in France, via Boncourt. A further connection south to Glovelier and the rest of the Swiss railway network opened in 1877. The branch line to Bonfol opened in 1901. The municipality lies on the first stretch of