SELECT sp_getcategorypath(categoryid) AS pagepath FROM category WHERE sp_getoldcategorypath(categoryid) = 'society/religion'