Bochum claimed derby bragging rights thanks to goals from Koji Miyoshi and Philipp Hofmann as Schalke's winless run stretched to four games.