parser.parse(tcManager.createMGraph(uri), inputStream, SupportedFormat.RDF_XML, uri);
uri = new UriRef(Locations.CHAR_MINOR.toString());
inputStream = TestClerezzaInputSources.class.getResourceAsStream("/ontologies/minorcharacters.owl");
parser.parse(tcManager.createMGraph(uri), inputStream, SupportedFormat.RDF_XML, uri);
gis = new GraphSource(new UriRef(Locations.CHAR_ACTIVE.toString()));
assertNotNull(gis);
assertNotNull(gis.getRootOntology());
Set<TripleCollection> imported = gis.getImports(false);
// Number of stored graphs minus the importing one minus the reserved graph = imported graphs
assertEquals(tcManager.listTripleCollections().size() - 2, imported.size());