bel(&quot;A&quot;).as(&quot;a&quot;).out().as(&quot;b&quot;)</b>
<b class="nc">&nbsp;                .where(</b>
<b class="nc">&nbsp;                        __.as(&quot;a&quot;).out().as(&quot;b&quot;)</b>
&nbsp;                )
<b class="nc">&nbsp;                .select(&quot;a&quot;, &quot;b&quot;);</b>
<b class="nc">&nbsp;        List&lt;Map&lt;String, Vertex&gt;&gt; result = traversal.toList();</b>
<b class="nc">&nbsp;        Assert.assertEquals(4, result.size());</b>
<b class="nc">&nbsp;        for (