Acquiring qualitative knowledge about complex agroecosystems. Part 2: Formal representation