Set<Resource> remove = new HashSet<Resource>();
for (StmtIterator i = type.listProperties(RDFS.subClassOf); i.hasNext();) {
Resource r = i.nextStatement().getResource();
if (r.isAnon()) remove.add(r);
}
for (Resource r: remove) r.removeProperties();
}
public void declareGlobalNS(Model model, Context ctx) {
addPrefix("rdf",RDF.getURI(),model);
if (_node instanceof Element) {