encoding for uri the -param in the getNuds and getRdf APIs