fix generated triples format