Complex example with inheritance and multiple associations between
entities.