Selection
s[condition(x)](x:collection)
returns subcollection that satisfies condition
s[value(x/Order/date/~data)?”1/1/2000”](x:child(/Customer))
returns collection of all vertices reachable from the root via a Customer edge that contain an order with a date in the new millenium
- Default: existential quantification
- universal quantification: all(i, pred(i))
- any datatype specific operation and comparison allowed including text containment, nearness etc.