Collection<Statement> statements = new ArrayList<Statement>();
for (Object statement : graph.getStatementCollection(resource, uri, value)) {
Resource _subject = getResource(((org.openrdf.model.Statement)statement).getSubject());
URI _predicate = getURI(((org.openrdf.model.Statement)statement).getPredicate());
Value _object = getValue(((org.openrdf.model.Statement)statement).getObject());
statements.add(new Statement(_subject, _predicate, _object));
}
return statements;
}