Add ontology object

Some methods/attributes probably still missing, but this is what we need for
EBI

Fixes #317