Between science and magic: the case of Schopenhauer