Hello,
I'ml looking the graoh for the follwing pattern

Where A goes to B and C such that those 2 are connected
I have written the following query to look for it the graph
list = g.V().match(
__.as("a").has("name",1), //TODO doesn't work without this line
__.as("a").out().where(P.neq("a")).as("b"),
__.as("b").out().where(P.neq("a").and(P.neq("b"))).as("c"),
__.as("a").out().where(P.eq("c")) ).
select("a","b","c").by("name").toList();
It works well but I need to specify that A has name equal to 1.
I would like that this query look on all the graph searching for this pattern, so i would like to remove the first line
However, if I do so, I get the error : Neither the sideEffects, map, nor path has a c-key: WherePredicateStep(eq(c))