Text this: A Tight, Practical Integration of Relations and Functions