Source and destination predicates
MATCH (a)-[e]->(b) WHERE a IS SOURCE OF e AND b IS DESTINATION OF e RETURN e;IS NOT SOURCE OF and IS NOT DESTINATION OF are accepted as well. Executable directed MATCH patterns already constrain endpoint roles; use pattern direction for current queries.
See supported features for executable alternatives.