Remove empty nodes from graphs in fromRdf-0005 and fromRdf-0006