Write an N-Quads file:

Write a quad:

Remove a quad: