Add ontology object

Some methods/attributes probably still missing, but this is what we need for
EBI

Fixes #317
Can you move this header to the top?