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