Hi Peter,
Thanks for sharing this. Layout-wise, the solution you present is not really 
different from what Enhanced API does with regard to n-ary relationships. I 
would like to know if there is an elegant creation pattern for n-ary 
relationships, or do you have to rely on a manual creation of the proper 
edge-node and role-relationships?
The query to extract information from the graph is however quite different from 
what I am aiming for. 
The back-operator is an interesting one and necessary in this situation, 
whereas I would like to do a query like that without the use of a 
back-operator. This is possible when the filter operator can take a traversal 
of itself, something of the form  filter(in("groupIn").name = "group2")
I think a traversal should in principal be performed with a query language that 
is not turing complete so we can guarantee termination. This is especially 
important in a REST architecture where we can't control the type of queries 
asked. 
Niels


> From: [email protected]
> Date: Wed, 31 Aug 2011 18:19:00 +0200
> To: [email protected]
> Subject: [Neo4j] Hyperedges in Neo4j
> 
> Hi folks,
> I took a discussion over at Tinkerpop as the excuse to put in an example of
> modeling and traversing Hyperedges in neo4j (in this case with Gremlin). Of
> course this is nowhere near Nils thinking, but for simple cases this might
> serve as a pattern.
> 
> http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-hyperedges---find-user-roles-in-groups
> 
> Let me know if you find that helpful.
> 
> Cheers,
> 
> /peter neubauer
> 
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
> 
> http://www.neo4j.org               - Your high performance graph database.
> http://startupbootcamp.org/    - Ă–resund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
                                          
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to