{@link RelationshipInclusionPolicy} based on a SPEL expression. The expression can use methods defined in{@link RelationshipExpressions}.
Note that there are certain methods (like {@link RelationshipExpressions#getOtherNode()}or {@link RelationshipExpressions#isOutgoing()}) that rely on providing a node whose point of view the call is being made. These methods only work when calling {@link #include(org.neo4j.graphdb.Relationship,org.neo4j.graphdb.Node)}. {@link IllegalArgumentException} is thrown when an incompatible method is invoked.