In the tutorial, there is the following Cypher query:
MATCH (gene:Person)-[:ACTED_IN]->()<-[:ACTED_IN]-(other)
WHERE gene.name="Gene Hackman"
RETURN DISTINCT other;
I generally understand the query. Match all Person nodes that ACTED_IN "any" node, where the gene:Person node has a name property equal to "Gene Hackman".
Then Return a distinct set of "other" nodes that ACTED_IN the same set of "any" nodes as Gene Hackman.
What is returned is a set of nodes, not including the Gene Hackman node.
It seems like the set of nodes being returned would include the Gene Hackman node. There is nothing explicitly filtering out the node containing the name "Gene Hackman" in the Cypher query. So the set of nodes that acted in the same movies as Gene Hackman should include Gene Hackman as well.
I'm assuming there is some inherent rule that is being applied, but the tutorial up to this point hasn't stated what that rule is or I just missed it :^).
Thanks, Todd