MATCH (a)-[r]-(b)-[q]-(c)-[o]-(a)
WHERE id(a)<id(b) AND id(b)< id(c)
RETURN a,r,b,q,c,o

> Am 03.03.2015 um 12:08 schrieb Jaroslav Ramba <[email protected]>:
> 
> Hi,
> 
> how can I remove automorfism in cypher result? This example 
> http://console.neo4j.org/?id=tz1lwc <http://console.neo4j.org/?id=tz1lwc> has 
> 12 rows in result and 10 are "duplicity" (automorfism). I want only 2 
> triangles in result, which actually are in the database.  As you can see in 
> the result graph, there are only two triangles, but table has 12 rows. 
> 
> I know that it is propably caused by traversing, but all I need these 2 
> unique triangles.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to