URL_PREFIX should be URI_PREFIX

getInverseRelations takes a pid