Scala + relational