Label predicate for virtual node

Label predicate for the virtual node, as shown in the training page below, doesn't work.

SHOW CURRENT GRAPH TYPE AS GRAPH
YIELD nodes, relationships
RETURN [n IN nodes WHERE n:NodeElementType | n.label] AS elementTypes

1 Like