I’m using Bulk Loader to instantiate a graph, and just went through a similar exercise. In my example, I have Author and Book entities, with an “authored” edge. The .json for the authored edge looks like this:
[
{
"uid": "_:8d61c26e-a959-4383-bd6d-1cc922368688",
"authored": {
"uid": "_:0ad095ee-ef9a-4c10-af84-170da2d3c604"
}
}
]
In my scenario, I’m loading everything at once, so using the uid/blank node feature to associate the specific author to the specific book.
Some additional details here: