This is similar to the Neo4J mapping. One difference is that Neo4J uses a property-graph model, whereas a RDF graph is a triple store, and must employ a technique such as reification or named graphs to attach information to the triple.
Each node in a graph corresponds to an RDF resource. See named thing for the base class.
id field is a CURIE, which maps to the resource IRI/URI using a
standard prefix expansion. The RDF graph MAY include the CURIE
shortform using a triple with
dcterms:identifier as predicate and the
CURIE as a literal.
name field maps to
TBD: use rdf:type or include additional category
An edge maps to an RDF triple.
See named thing for a list of generic properties that are associated with an edge.