qnli question: Who was responsible for constructing the Jantar Mantar? sentence: The primary purpose of the observatory was to compile astronomical tables, and to predict the times and movements of the sun, moon and planets.