TS/JPM: raising ValueError in case no namespace could be determined in uriToCurie