The remaining bit here is to translate the output slot to its corresponding class name: e.g., the gocam schema has a class called GoCamAnnotations with a slot named gene_organisms, and relations between genes and organisms populate that slot. We'd prefer to refer to them by their class name, GeneOrganismRelationship, since they are objects of that class.
Schemaview will do this with get_slot I think - then just get the domain from the slot definition.
The remaining bit here is to translate the output slot to its corresponding class name: e.g., the gocam schema has a class called GoCamAnnotations with a slot named gene_organisms, and relations between genes and organisms populate that slot. We'd prefer to refer to them by their class name, GeneOrganismRelationship, since they are objects of that class.
Schemaview will do this with
get_slot
I think - then just get thedomain
from the slot definition.