Learning sparse relational transition models