}
public static String possibleRelatedString(ReadGraph graph, Resource subject, Resource relation) throws DatabaseException {
- return graph.getRelatedValue(subject, relation, Bindings.STRING);
+ return graph.getPossibleRelatedValue(subject, relation, Bindings.STRING);
}
public static Integer possibleRelatedInteger(ReadGraph graph, Resource subject, Resource relation) throws DatabaseException {
- return graph.getRelatedValue(subject, relation, Bindings.INTEGER);
+ return graph.getPossibleRelatedValue(subject, relation, Bindings.INTEGER);
}
public static Resource getPossibleOwner(ReadGraph graph, Resource resource) throws DatabaseException {