datasetLock.readLock().lock();
try {
if (isExistingGraphName(name, Symbols.Graph) || name.equals(defaultGraphName)){
return getModelGraph(name,false,false).getGraph();
} else {
throw new NoSuchEntityException(name);
}
} finally {
datasetLock.readLock().unlock();
}
}