Resource indexRoot = graph.syncRequest(new PossibleVariableIndexRoot(variable));
if(indexRoot == null) return false;
- if(variable.equals(indexRoot)) return false;
+ Resource represents = variable.getPossibleRepresents(graph);
+ if(represents != null && represents.equals(indexRoot)) return false;
return isPublished(graph, indexRoot);
}