Improve TriG writing