81828384858687
} else return null; } public URINode getPredicate() { return new URINode(statement.getPredicate().getURI()); }
909192939495969798
Resource subject = statement.getSubject(); if (subject instanceof BNode) return new BlankNode(((BNode) subject).getID()); else if (subject instanceof URI) return new URINode(((URI) subject).getURI()); else return null; }