Model m = ModelFactory.createDefaultModel();
// generate target RDF the first time
Model output = ModelFactory.createDefaultModel();
File target = targetRDF.exists()?null:targetRDF;
URI base = XMLBean.resolveBase(uri,list[i]);
gloze.xml_to_rdf(list[i], target, base, output);
m.read(new FileInputStream(targetRDF), base.toString());
assertTrue(m.isIsomorphicWith(output));
} catch (Exception e) {
Gloze.logger.error(e.getMessage());
}