fix semantic index id and uritemplate matcher for ValueConstant uri