graph.addVertex(T.label, "person","name", "marko", "age", 29,"dept_id",5);
graph.addVertex(T.label, "person","name", "jim", "age", 42,"dept_id",5);
graph.addVertex(T.label, "person","name", "joe", "age", 99,"dept_id",5);
graph.addVertex(T.label, "person","name", "fred", "age", 33,"dept_id",8);
graph.addVertex(T.label, "person","name", "hank", "age", 66,"dept_id",8);
graph.addVertex(T.label,"department","name","engineering","dept_id",5);
graph.addVertex(T.label,"department","name","management","dept_id",8);
g.V().has('person','dept_id', '5').as('p').V().has('department','dept_id','5').addE('org_unit').from('p');
--
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/c5b91799-94c0-46a8-92bb-846ce169503c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c5b91799-94c0-46a8-92bb-846ce169503c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Robert Dale