Property hasReputationModel = ResourceFactory.createProperty(
riNamespace + "hasReputationModel");
stmtI1 = model.listStatements(resource,
hasReputationModel, (RDFNode)null);
while(stmtI1.hasNext()) {
Statement statement = stmtI1.nextStatement();
// validate hasReputationModel property //
if(!statement.getObject().isResource()) {
if(!ModelException.throwException(ModelException.COMMUNITY,
"hasReputationModel property of Community resource:"+
resource.getURI()+" is not a resource")) {