SMS dit: Developing qualitative models for structural learning