Hi there, really beginner query, almost ashamed :)

Is it possible to filter the results to skip the start node?

For example, using the koans dataset, find the enemy of my enemy (should be
my friends :) )

START n=node(1)
MATCH (n)-[:ENEMY_OF]->(x)-[:ENEMY_OF]->(z)
return distinct z

I understand that "The doctor" node 1, should appear as it is indeed an
enemy of one of his enemies, but is it possible to filter?

Regards
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to