relations and their boundaries