        DefaultGraphTraversal&lt;Vertex, Vertex&gt; traversal3 = (DefaultGraphTraversal&lt;Vertex, Vertex&gt;) sqlgGraph.traversal()</b>
<b class="fc">&nbsp;                .V().hasLabel(&quot;Person&quot;).has(&quot;born&quot;, P.gt(born1));</b>
<b class="fc">&nbsp;        Assert.assertEquals(2, traversal3.getSteps().size());</b>
<b class="fc">&nbsp;        vertices = traversal3.toList();</b>
<b class="fc">&nbsp;        Assert.assertEquals(2, traversal3.getSteps().size());</b>
<b class="fc">&nbsp;        A