java neo4j check if a relationship exist
问题 excluse if this is a duplicate, although I did not find the answer so far. I have an application that creates nodes and relationships via cypher statement against the REST-API. I create relationships with the below code: public URI createRelationship(GraphNodeTypes sourceType, URI sourceNode, GraphNodeTypes targetType, URI targetNode, GraphRelationshipTypes relationshipType, String[] jsonAttributes) { URI relationShipLocation = null; String cypherArt = getNodeIdFromLocation(sourceNode)+"-[:"