Text this: Building a knowledge-based system for river water quality management.