Add ontology object

Some methods/attributes probably still missing, but this is what we need for
EBI

Fixes #317
Can you change the length of this line to match the one above?