public Resource getType(ReadGraph graph, Resource baseType) throws DatabaseException {
if (graph.isInheritedFrom(type, baseType))
return type;
public Resource getType(ReadGraph graph, Resource baseType) throws DatabaseException {
if (graph.isInheritedFrom(type, baseType))
return type;