Currently in SourcingAdmin: ``` private boolean pipeExists(UriRef pipeRef) { boolean result = false; if (pipeRef != null) { GraphNode pipeNode = new GraphNode(pipeRef, getDlcGraph()); if(pipeNode != null) { result = true; } } return result; } ``` This is the same as: ``` private boolean pipeExists(UriRef pipeRef) { return pipreRef != null; } ``` But probably what you want is something like ``` private boolean pipeExists(UriRef pipeRef) { boolean result = false; if (pipeRef != null) { GraphNode pipeNode = new GraphNode(pipeRef, getDlcGraph()); result = pipeNode.hasProperty(RDF.type, Ontology.Pipe); } return result; } ```
Currently in SourcingAdmin:
This is the same as:
But probably what you want is something like