public void printAllReputationAlgorithms(Model model) throws Exception {
Set<Resource> resourcesCache = new HashSet<Resource>();
Resource reputationAlgorithm = ResourceFactory.
createResource(riNamespace + "ReputationAlgorithm");
ResIterator iters = model.listSubjectsWithProperty(
RDF.type,reputationAlgorithm);
while (iters.hasNext()) {
resourcesCache.add(iters.nextResource());
}
for(Resource subclass : reputationAlgorithmSubclasses.keySet()) {
iters = model.listSubjectsWithProperty(RDF.type,subclass);
while (iters.hasNext()) {
resourcesCache.add(iters.nextResource());
}
}
for(Property property : reputationSubclassesProperties.keySet()) {
StmtIterator stmtI1 = model.listStatements((Resource) null, property, (RDFNode) null);
while (stmtI1.hasNext()) {