Representing Relations and Functions