What is the version of the following sentence with correct punctuation?

He published a philosophy book Das Chaos in kosmischer Auslese 1898 which is a critique of metaphysics contrasting the empirical with the transcendental world that he rejected
He published a philosophy book Das Chaos in kosmischer Auslese (1898) which is a critique of metaphysics contrasting the empirical with the transcendental world that he rejected.