Add an example with joins back to edge table and some complex functions