title: Is it possible to return a map of key values using gremlin scala
body: <p>Currently i have two gremlin queries which will fetch two different values and i am populating in a map.
  Scenario : A->B , A->C , A->D</p>
  
  <p>My queries below,</p>
  
  <ol>
  <li><code>graph.V().has(ID,A).out().label().toList()</code></li>
  </ol>
  
  <p>Fetch the list of outE labels of A .</p>
  
  <p><strong>Result : List(B,C,D)</strong></p>
  
  <ol start="2">
  <li><code>graph.traversal().V().has("ID",A).outE("interference").as("x").otherV().has("ID",B).select("x").values("value").headOption()</code></li>
  </ol>
  
  <p>Given A and B , get the egde property value (A->B)</p>
  
  <p><strong>Return : 10</strong></p>
  
  <p>Is it possible that i can combine both there queries to get a return as <strong>Map[(B,10)(C,11)(D,12)]</strong></p>
  
  <p>I am facing some performance issue when i have two queries. Its taking more time</p>