SMS: Relations and predicates