neo: Fix definition lists

Fix the code that load relationships between a property or a class and its definitions.

See commit messages for details.