turn pathway uri into a link in pathways for compound