fix RDFWRiting base for Turtle in Sesame and Plantain. The algorithms for these was just a simple substring calculation, which is not correct.