qnli question: What is one of the subjects of a treatise by Ibn Sina? sentence: Ibn Sīnā wrote extensively on early Islamic philosophy, especially the subjects logic, ethics, and metaphysics, including treatises named Logic and Metaphysics.