Both queries should return "6593" because the relationship type is DIRECTED and it shouldn't matter if we specify it or not.
Query 2a returns "6593" while the query 2b returns an empty result set.

Hi, thanks for reporting. We will look into it.
/Team Cypher
@averza This is not a bug but intended behaviour. When running your first query, you get the result shown in the attached image. The variables a and c will both map to the same node namely John Huston and you will get 2 results since you have 2 different b nodes. The relationship between a and b will be the DIRECTED and the one between b and c will be ACTED_IN.
In your second query you search for 2 DIRECTED relationship but since each b node just have one DIRECTED relationship to the node with id 6593 and Cypher never traverse the same relationship twice you won't get any matches.
Best regards Neo4j Cypher team

@averza Here's a section in the docs where we discuss the uniqueness of a relationship per path:
https://neo4j.com/docs/cypher-manual/current/introduction/uniqueness/
Most helpful comment
@averza Here's a section in the docs where we discuss the uniqueness of a relationship per path:
https://neo4j.com/docs/cypher-manual/current/introduction/uniqueness/