SELECT sp_getcategorypath(categoryid) AS pagepath FROM category WHERE sp_getoldcategorypath(categoryid) = 'region/otago/dunedin/entertainment/restaurants-and-bars'