Retrieve all variable types from the Ontology using the structural reasoner into a set. ( Example is available in the ModelClassifierInferenceTest (ModelClassifier)
Somehow obtain a set from the case classes
Check two sets against each other. (Case class ontologyID corresponds to the ID of the class in the ontology.
This is what comes into my mind immediately. There might be simpler way to do this
What would this involve?