return getObjects(valueFactory.createURIReference(predicate));
}
public ClosableIterator<SubjectNode> getSubjects(PredicateNode predicate) throws GraphException {
ClosableIterator<Triple> closableIterator = graph.find(ANY_SUBJECT_NODE, predicate, (ObjectNode) node);
return new SubjectNodeIterator(closableIterator);
}