add investigation uri replace to sparql templates