Patterns changes:

- num_children.xml amended with @idColumn
- child_snapshot.xml new pattern, but does not work yet (self join not
supported)