map-reduce relations