title: Gremlin join multiple vertices values
body: <p>I need some help because im very new in graph databases.</p>
  
  <p>Im running this Gremlin query on my DSE Graph:</p>
  
  <pre><code>g.V('user:589435392:512').out('events').inE('events')
  </code></pre>
  
  <p>The Graph view return </p>
  
  <p><a href="https://i.stack.imgur.com/StqPj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/StqPj.jpg" alt="graph view"></a></p>
  
  <p>But Raw JSON return:</p>
  
  <pre><code>{
    "id": "{out_vertex={member_id=512, community_id=589435392, ~label=user}, local_id=d2e29e60-5fc2-11e6-87aa-8d7f17e3c204, in_vertex={member_id=0, community_id=100599424, ~label=events}, ~type=events}",
    "label": "events",
    "type": "edge",
    "inVLabel": "events",
    "outVLabel": "user",
    "inV": "events:100599424:0",
    "outV": "user:589435392:512"
  },
  {
    "id": "{out_vertex={member_id=1, community_id=1205145984, ~label=user}, local_id=7c838fd0-6327-11e6-87aa-8d7f17e3c204, in_vertex={member_id=0, community_id=100599424, ~label=events}, ~type=events}",
    "label": "events",
    "type": "edge",
    "inVLabel": "events",
    "outVLabel": "user",
    "inV": "events:100599424:0",
    "outV": "user:1205145984:1"
  }
  </code></pre>
  
  <p>And I need something like this:</p>
  
  <pre><code>{ 
      "event": {"some infos about this event"},
      "users": [{"user1"}, {"user2"},...]
  }
  </code></pre>
  
  <p>How can I achieve a JSON output which show all events for a user and all involved user for the Events?</p>