code: def check_ontology(fname):    
      
      with open(fname, 'r') as stream:
          y = yaml.safe_load(stream)
      import pprint
      pprint.pprint(y)
docs: reads the ontology yaml file and does basic verifcation