A multi-relational approach to spatial classifiers