functions to create nodes/edges/nodecontents/keywords