cleaned up the rdfa-handler code a little

turtleGen() is a work in progress at the moment....