refs #7800
Change-Id: Ia6f45c5f3b5c32845bb486062fe46e10fe8cffe2
Variable parent = context.getParent(graph);
Resource container = parent.getPossibleRepresents(graph);
if(container == null)
Variable parent = context.getParent(graph);
Resource container = parent.getPossibleRepresents(graph);
if(container == null)
Map<String,Resource> methods = graph.syncRequest(new UnescapedMethodMapOfResource(container));
Resource predicate = methods.get(name);
if(predicate != null) {
Map<String,Resource> methods = graph.syncRequest(new UnescapedMethodMapOfResource(container));
Resource predicate = methods.get(name);
if(predicate != null) {
public Map<String, Variable> getVariables(ReadGraph graph, Variable context, Map<String, Variable> map) throws DatabaseException {
Variable parent = context.getParent(graph);
Resource container = parent.getPossibleRepresents(graph);
public Map<String, Variable> getVariables(ReadGraph graph, Variable context, Map<String, Variable> map) throws DatabaseException {
Variable parent = context.getParent(graph);
Resource container = parent.getPossibleRepresents(graph);
+ if(container == null)
+ return Collections.emptyMap();
Map<String,Resource> methods = graph.syncRequest(new UnescapedMethodMapOfResource(container));
for(Map.Entry<String, Resource> entry : methods.entrySet()) {
String name = entry.getKey();
Map<String,Resource> methods = graph.syncRequest(new UnescapedMethodMapOfResource(container));
for(Map.Entry<String, Resource> entry : methods.entrySet()) {
String name = entry.getKey();