qnli question: How many science disciplines were taught at madaris in the Ottoman Empire? sentence: Although early madaris were founded primarily to gain "knowledge of God" they also taught subjects such as mathematics and poetry.