Query only uses relations without a given property <p>Is there a possibility with cypher to not use certain relations based on property? </p> <p>We have a new requirement that says that relations should never be hard deleted but should get a flag "deleted = true" so we kind of have an audit trail for relations of our nodes. (Something like X was a friend of Y but a little more complex and for all relation types)</p> <p>This is doable in a cypher query by just using <code>WHERE r.deleted = false</code> but in more complex queries that traverse 4-5 relation types this might become harder.</p> <p>Is there an easy way to just say that Neo4J shouldn't use any relation with the property "deleted" set to true?</p>