649 refactor parsing

Shall fix #649. 

The tests for the OntologyParser have not been translated, yet. See #942 for that.
Maybe we should stick with "child-ontology" in the comments when we use that term in the code. The same applies to the comment in line 36.