SELECT * FROM pages WHERE url_rewrite='capital-flows' AND parent_id=(SELECT page_id FROM pages WHERE url_rewrite='publications-by-topic' AND (parent_id IS NULL OR parent_id=(SELECT page_id FROM pages WHERE url_rewrite='research' AND parent_id IS NULL))) LIMIT 1