1040 fix relations in models

should fix #1040 
we should use `|ontology|` in `do` syntax and `|o|` in `{`-syntax. So you should change `ont` to `ontology`.