Add visitor implementation for RelationalPath extraction #483