assertTrue(isIsomorphic(ds1, ds2) ) ;
// Check namespaces in the parsed dataset match those in the original data
checkNamespaces(ds2.getDefaultModel(), ds1.getDefaultModel().getNsPrefixMap());
Iterator<String> graphNames = ds2.listNames();
while (graphNames.hasNext()) {
String gn = graphNames.next();
checkNamespaces(ds2.getNamedModel(gn), ds1.getNamedModel(gn).getNsPrefixMap());
}
}