Added get_top_links for relational

Also, fixed new input schema