I have replicated your structure.
You could use this query
g.V.has('@class','V').has('name',T.in,['A','B','C','D'])
<https://lh3.googleusercontent.com/-e2SWxx2XjbU/V439vo3ontI/AAAAAAAAAOA/NUV98PGOGJA_jPIrU_gjRwZsB6s9hDwHACLcB/s1600/image.png>
Kind regards,
Alessandro
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.