1. How can I compute for each person number and list of people they are following.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/4c2c80f9-a38a-459b-910b-eb7a86dd3cb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
.project("a","b").by(bla).by(blub)
.as("a","b").select("a","b").by(bla).by(blub)
Thank you so much. I think the part where I was struggling was the project() which is missing in 3.0.1. Is there are substitute I can use that will work for 3.0.1?
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/7706c79c-3441-4b6c-bb0a-6db76f24296f%40googlegroups.com.
OK. I am still not getting it right. What I would like to do is to list for all pairs of people the list and count of the created assets, i,e:
If two people have nothing co-created I still want to list it by as empty set for coCreated.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/b1edc274-3d0a-4fec-80a2-e6ff219e059d%40googlegroups.com.
g.V().hasLabel("person").aggregate("p").as("p1").select("p").unfold()
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/ce53bd76-3418-4baf-86e5-dbe3f5796eaf%40googlegroups.com.
Thanks. How can I do something similar for different labels (loop over person and software)? I.e. loop over people and software so that I have combinations of each p1, s1, p1, s2, ... whether or not there is a create link. I am having trouble in the sense that I need to start another set of traversals but can't.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/7cddd4f4-3336-4b16-b6f5-726038808452%40googlegroups.com.
If I were you, I would use multiple traversals (given that you're stuck in 3.0.1). It's really not worth the effort to squash it all into a single traversal (and 3.0.x was not even able to process these patterns efficiently).Cheers,Daniel
On Sat, Dec 3, 2016 at 5:36 AM, Eser Kandogan <eserka...@gmail.com> wrote:
Thanks. How can I do something similar for different labels (loop over person and software)? I.e. loop over people and software so that I have combinations of each p1, s1, p1, s2, ... whether or not there is a create link. I am having trouble in the sense that I need to start another set of traversals but can't.I tried:g.V().hasLabel('person').as('p').g.V().hasLabel('software').as('s')g.V().hasLabel('person').as('p').group().by('name').by{g.V().hasLabel('software').as('s').} // Here I cannot access 'p' anymore.. I need to check something in to combination of p and s, for all p and all s.(I need to do this is 3.0.1)
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.