Refactor URI generation methods of RdfUtils