[Neo4j] Cypher: combining results?

2011-11-06 Thread D. Frej
Hi, Cypher allows to define multiple starting points. Example: start n=(1, 2, 3) return n (taken from http://docs.neo4j.org/chunked/stable/query-start.html#start-multiple-nodes-by-id) Can this only be done in the START clause or also in the MATCH clause, like this? START

Re: [Neo4j] Cypher: combining results?

2011-11-06 Thread Andres Taylor
On Nov 6, 2011 10:55 AM, D. Frej dieter_f...@gmx.net wrote: Hi, Cypher allows to define multiple starting points. Example: start n=(1, 2, 3) return n (taken from http://docs.neo4j.org/chunked/stable/query-start.html#start-multiple-nodes-by-id ) Can this only be done in the START clause or

Re: [Neo4j] Cypher: combining results?

2011-11-06 Thread Andres Taylor
On Sun, Nov 6, 2011 at 12:25 PM, Andres Taylor andres.tay...@neotechnology.com wrote: On Nov 6, 2011 10:55 AM, D. Frej dieter_f...@gmx.net wrote: Hi, Cypher allows to define multiple starting points. Example: start n=(1, 2, 3) return n (taken from

Re: [Neo4j] Cypher: combining results?

2011-11-06 Thread D. Frej
I have a very simply graph: UserGroup 2 -[:IS_MEMBER_OF]- UserGroup 1, User 3 UserGroup 1 -[:IS_MEMBER_OF]- User 1, User 2 And I am trying to get all nodes that are on the same level and below the starting point including the starting point. This works for, e.g. User 3, but not for UserGroup2.

Re: [Neo4j] Cypher: combining results?

2011-11-06 Thread D. Frej
Andrés, is there an official grammar for e.g. antlr or JavaCC for cypher syntax? Am 06.11.2011 15:11, schrieb Andres Taylor: On Sun, Nov 6, 2011 at 12:25 PM, Andres Taylor andres.tay...@neotechnology.com wrote: On Nov 6, 2011 10:55 AM, D. Frejdieter_f...@gmx.net wrote: Hi, Cypher