649 refactor parsing

Shall fix #649. 

The tests for the OntologyParser have not been translated, yet. See #942 for that.
I'm pretty sure that comment is a remnant, but i can change it if you want it.