Starting from a specific Vertex (@rid) and find specific connected Class
<p>I have this Schema :</p>

<pre><code>Regles -Pertinent-&gt; Rubrique
Cri -Pertinent-&gt;Rubrique
</code></pre>

<p>First,</p>

<p>The following command :</p>

<pre><code> SELECT in('Pertinent').@class FROM Rubrique WHERE @rid = '#33:1'
</code></pre>

<p>return : </p>

<pre><code>["Cri","Cri","Cri","Regle","Regle","Regle","Regle","Regle","Regle","Regle","Regle","Regle","Regle","Regle"]
</code></pre>

<hr>

<p>I want to select a specific Vertex with something like this : </p>

<pre><code>SELECT * FROM Rubrique WHERE @rid = '#33:1'
</code></pre>

<p>And then select all the connected 'Cri', so i tried this but it seems to doesn't work : </p>

<pre><code>SELECT expand(in('Pertinent')) FROM Rubrique WHERE @rid = '#33:1' AND in('Pertinent').@class = "Cri"
</code></pre>

<p>Do you have any idea?</p>