@Test
void loadOwlStream() throws Exception {

  Path ontologyPath = Paths.get("src/test/resources/ncit_module.owl");
  Ontology ontology = OntologyLoader.loadOntology(Files.newInputStream(ontologyPath));
  // the ncit_module.owl has 6 classes
  assertEquals(6, ontology.countAllTerms());
}