update triplestore
enable the legalprofile to be passed as a URL parameter